updated requirements, updated ES task

This commit is contained in:
evgeniy-st 2019-11-15 10:23:16 +03:00
parent 4ebece45d3
commit 8951de7399
2 changed files with 3 additions and 5 deletions

View File

@ -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)

View File

@ -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.3.0
celery==4.2.2