Fix0red the scheduling of upkeep.

This commit is contained in:
Jeremy Fincher 2004-10-24 02:26:24 +00:00
parent 8954aa2d71
commit 66d9d45414

View File

@ -72,7 +72,7 @@ def main():
# is a failure between now and the time it takes the Owner plugin to load # is a failure between now and the time it takes the Owner plugin to load
# all the various plugins, our registry file might be wiped. That's bad. # all the various plugins, our registry file might be wiped. That's bad.
interrupted = False interrupted = False
when = time.time() + conf.supybot.upkeepInterval() when = conf.supybot.upkeepInterval()
schedule.addPeriodicEvent(world.upkeep, when, name='upkeep', now=False) schedule.addPeriodicEvent(world.upkeep, when, name='upkeep', now=False)
world.startedAt = started world.startedAt = started
while world.ircs: while world.ircs: