Change update frequency to 10 - 20 seconds
This commit is contained in:
parent
4410ad5056
commit
4d0dae0e35
@ -41,7 +41,7 @@ class KiuBot(Bot):
|
|||||||
def _schedule_activity_switch_timeout(self):
|
def _schedule_activity_switch_timeout(self):
|
||||||
if self._activity_switch_timeout:
|
if self._activity_switch_timeout:
|
||||||
return
|
return
|
||||||
interval = random.randint(1000, 20000)
|
interval = random.randint(10000, 20000)
|
||||||
self._activity_switch_timeout = gobject.timeout_add(interval,
|
self._activity_switch_timeout = gobject.timeout_add(interval,
|
||||||
self.__activity_switch_cb)
|
self.__activity_switch_cb)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user