Skip to content

Commit 6387713

Browse files
authored
fix: missing global queue (#539)
1 parent b560755 commit 6387713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/celery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
app = Celery("kubechat")
1010
app.conf.task_queues = (
1111
Queue(LOCAL_QUEUE_NAME, Exchange(LOCAL_QUEUE_NAME), routing_key=LOCAL_QUEUE_NAME,priority=10),
12+
Queue("celery", Exchange("celery")),
1213
)
1314

1415
# Using a string here means the worker doesn't have to serialize
@@ -22,7 +23,6 @@
2223
app.autodiscover_tasks()
2324

2425

25-
2626
if LOCAL_QUEUE_NAME != "":
2727
app.conf.task_routes = {
2828
"kubechat.tasks.index.add_index_for_local_document": {"queue": f"{LOCAL_QUEUE_NAME}"},

0 commit comments

Comments
 (0)