Skip to content

Commit

Permalink
run celery in a separate process
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Sep 6, 2023
1 parent af5bb33 commit 2822db3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions e2e/server/Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
rest: PYTHONUNBUFFERED=True gunicorn -c gunicorn_config.py wsgi
wamp: python3 -u ws.py
work: celery -A worker worker
2 changes: 1 addition & 1 deletion e2e/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
CONTENTAPI_ELASTICSEARCH_INDEX = CONTENTAPI_MONGO_DBNAME

LEGAL_ARCHIVE = True
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = False

DEFAULT_TIMEZONE = "Europe/London"

0 comments on commit 2822db3

Please sign in to comment.