From: Thorsten Date: Thu, 3 Aug 2023 15:05:11 +0000 (+0200) Subject: 30s keepalive interval X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=a2447778e457e655804f51d14d22b35628742990;p=urlbot-v3.git 30s keepalive interval --- 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):