]> git.aero2k.de Git - urlbot-v3.git/commitdiff
30s keepalive interval
authorThorsten <mail@aero2k.de>
Thu, 3 Aug 2023 15:05:11 +0000 (17:05 +0200)
committerThorsten <mail@aero2k.de>
Thu, 3 Aug 2023 15:05:11 +0000 (17:05 +0200)
distbot/bot/bot.py

index cda24d95fe401556aeb2a75664781acab5317bfb..51590abd1993bd700212ca5d011e6f550b4fb4e2 100644 (file)
@@ -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):