Skip to content

Instantly share code, notes, and snippets.

View pushpendra-tripathi's full-sized avatar
🎯
Focussing

Pushpendra Tripathi pushpendra-tripathi

🎯
Focussing
View GitHub Profile
@pushpendra-tripathi
pushpendra-tripathi / celery.sh
Created October 13, 2023 09:49 — forked from amatellanes/celery.sh
Celery handy commands
/* Useful celery config.
app = Celery('tasks',
broker='redis://localhost:6379',
backend='redis://localhost:6379')
app.conf.update(
CELERY_TASK_RESULT_EXPIRES=3600,
CELERY_QUEUES=(
Queue('default', routing_key='tasks.#'),