From bb9f44b7812af625e02a908378bcdfb2062b1626 Mon Sep 17 00:00:00 2001 From: skelmis Date: Thu, 11 Jan 2024 23:55:40 +1300 Subject: [PATCH] fix: WS debug check --- suggestions/bot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/suggestions/bot.py b/suggestions/bot.py index ebbcab5..3652557 100644 --- a/suggestions/bot.py +++ b/suggestions/bot.py @@ -642,6 +642,10 @@ async def update_dev_channel(self): log.info("Not watching for debug info as not on prod") return + if not self.is_primary_cluster: + log.info("Not watching for debug info as not primary cluster") + return + state: State = self.state async def process_watch_for_shutdown():