feat: add celery job queue

This commit is contained in:
Felix Spöttel
2023-01-06 16:48:06 +01:00
parent c90915ba40
commit e41c07fd4b
11 changed files with 83 additions and 56 deletions

7
app/worker.py Normal file
View File

@@ -0,0 +1,7 @@
from celery import Celery
from .config import settings
celery = Celery(__name__)
celery.conf.broker_url = settings.REDIS_URI