mitodl/open-discussions

Don't create a separate task for elasticsearch upserts/deindexes

abeglova opened this issue · 0 comments

Steps to Reproduce

After a resource is updated, open discussions updates the elasticsearch index with the changes.

Expected Behavior

The index should be updated right away

Actual Behavior

The a new celery job is created to update the index. The job is placed at the back of the celery queue. If the change is a resource being unpublished, the resource remains in the index but clicking it brings up an empty card until the job runs.