fix some values

Signed-off-by: leto <leto@weboob.org>
Signed-off-by: Romain Bignon <romain@symlink.me>
This commit is contained in:
leto 2012-04-29 22:52:23 +02:00 committed by Romain Bignon
commit e59d5eb98f
2 changed files with 3 additions and 3 deletions

View file

@ -49,7 +49,7 @@ class ProfilesWalker(Optimization):
def start(self):
self.walk_cron = self.sched.repeat(60, self.enqueue_profiles)
self.view_cron = self.sched.schedule(randint(10, 40), self.view_profile)
self.view_cron = self.sched.schedule(randint(5, 10), self.view_profile)
return True
def stop(self):
@ -101,4 +101,4 @@ class ProfilesWalker(Optimization):
print e
finally:
if self.view_cron is not None:
self.view_cron = self.sched.schedule(randint(10, 40), self.view_profile)
self.view_cron = self.sched.schedule(randint(5, 10), self.view_profile)