Skip to content

Instantly share code, notes, and snippets.

View xusy2k's full-sized avatar

Xus Zoyo xusy2k

View GitHub Profile
@xusy2k
xusy2k / celery.sh
Created September 29, 2022 10:42 — 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.#'),

Keybase proof

I hereby claim:

  • I am xusy2k on github.
  • I am xus (https://keybase.io/xus) on keybase.
  • I have a public key whose fingerprint is 2294 3F58 86E0 C80B A642 1CB8 A079 28ED EB06 0B9D

To claim this, I am signing this object: