diff --git a/apps/establishment/tasks.py b/apps/establishment/tasks.py index fdc10933..80d9cca8 100644 --- a/apps/establishment/tasks.py +++ b/apps/establishment/tasks.py @@ -27,5 +27,5 @@ def recalculate_price_levels_by_country(country_id): @periodic_task(run_every=crontab(minute=59)) def rebuild_establishment_indices(): - management.call_command(search_index.Command(), action='rebuild', models=[models.Establishment.__name__], + management.call_command(search_index.Command(), action='populate', models=[models.Establishment.__name__], force=True) diff --git a/requirements/base.txt b/requirements/base.txt index d7050a29..4489d755 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -50,7 +50,5 @@ PyYAML==5.1.2 # temp solution redis==3.2.0 -amqp>=2.4.0 - -kombu==4.5.0 -celery==4.3.0rc2 +kombu==4.6.6 +celery==4.3.0