Created
September 10, 2021 03:36
-
-
Save PraneethKarnena/471343d979508a6523ea7381f97df7d7 to your computer and use it in GitHub Desktop.
Django Celery settings that work
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from backend.celery import app | |
app.conf.timezone = 'Asia/Kolkata' | |
app.conf.worker_prefetch_multiplier = 0 | |
app.conf.broker_connection_retry = True | |
app.conf.broker_connection_max_retries = 0 | |
app.conf.task_default_queue = 'celery_ams_regular' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment