From a1cfe9411b5e63fe96732f9530d20ed7cbdd44c6 Mon Sep 17 00:00:00 2001
From: Julien Moutinho <julm@sourcephile.fr>
Date: Sat, 21 Aug 2021 07:08:22 +0200
Subject: [PATCH] Use dedicated metasrht-webhooks Celery queue for webhooks

---
 metasrht/webhooks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/metasrht/webhooks.py b/metasrht/webhooks.py
index 3f0ba01..8554ba5 100644
--- a/metasrht/webhooks.py
+++ b/metasrht/webhooks.py
@@ -8,7 +8,7 @@ if not hasattr(db, "session"):
 from srht.webhook import Event
 from srht.webhook.celery import CeleryWebhook, make_worker
 
-worker = make_worker(broker=cfg("meta.sr.ht", "webhooks", "redis://"))
+worker = make_worker("metasrht", broker=cfg("meta.sr.ht", "webhooks", "redis://"))
 
 class UserWebhook(CeleryWebhook):
     events = [
-- 
2.32.0