Skip to content

Commit

Permalink
Merge pull request #40 from Amsterdam/chore/celery-always-eager
Browse files Browse the repository at this point in the history
Made setting "CELERY_TASK_ALWAYS_EAGER" configurable
  • Loading branch information
vanbuiten authored Jul 6, 2023
2 parents 3298ccd + 8a49cc2 commit 6e59e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
CELERY_RESULT_BACKEND = 'django-db'
CELERY_RESULT_EXTENDED = True
CELERY_TASK_RESULT_EXPIRES = 604800 # 7 days in seconds (7*24*60*60)
CELERY_TASK_ALWAYS_EAGER = True
CELERY_TASK_ALWAYS_EAGER = os.getenv('CELERY_TASK_ALWAYS_EAGER', False)


# Celery Beat settings
Expand Down

0 comments on commit 6e59e4e

Please sign in to comment.