Change update frequency to 10 - 20 seconds

This commit is contained in:
Dan Williams 2006-09-21 17:03:18 -04:00
parent 4410ad5056
commit 4d0dae0e35

View File

@ -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)