mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
8558cf00a2
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
6 lines
160 B
Python
6 lines
160 B
Python
from celery import Celery
|
|
|
|
celery_app = Celery("worker", broker="amqp://guest@queue//")
|
|
|
|
celery_app.conf.task_routes = {"app.worker.test_celery": "main-queue"}
|