From a2447778e457e655804f51d14d22b35628742990 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Thu, 3 Aug 2023 17:05:11 +0200 Subject: [PATCH] 30s keepalive interval --- distbot/bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distbot/bot/bot.py b/distbot/bot/bot.py index cda24d9..51590ab 100644 --- a/distbot/bot/bot.py +++ b/distbot/bot/bot.py @@ -41,7 +41,7 @@ class Bot(slixmpp.ClientXMPP): def _initialize_plugins(self): self.register_plugin('xep_0045') - self.register_plugin('xep_0199', {'keepalive': True}) + self.register_plugin('xep_0199', {'keepalive': True, 'interval': 30}) self.register_plugin('xep_0308') def kill_workers(self): -- 2.39.2