Skip to content

Instantly share code, notes, and snippets.

@PraneethKarnena
Created September 10, 2021 03:36
Show Gist options
  • Save PraneethKarnena/471343d979508a6523ea7381f97df7d7 to your computer and use it in GitHub Desktop.
Save PraneethKarnena/471343d979508a6523ea7381f97df7d7 to your computer and use it in GitHub Desktop.
Django Celery settings that work
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