Skip to content

Commit

Permalink
fixed small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Fix committed Dec 5, 2008
1 parent 27b2a2b commit 20e6f19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doord/doord.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logger, yaml, pipeline
from twisted.internet import defer, reactor, task
from twisted.application import internet, service
from twisted.python import usage


class DoorD(object):
Expand All @@ -16,7 +17,7 @@ def __init__(self, serviceCollection):
self.reported_health_check = internet.TimerService(5, self.check_reported_health)
self.reported_health_check.setServiceParent(serviceCollection)

# do actual health check every 59 seconds, so as not to overleave with the above (to often...)
# do actual health check every 59 seconds, so as not to overleave with the above (too often...)
self.actual_health_check = internet.TimerService(59, self.check_actual_health)
self.actual_health_check.setServiceParent(serviceCollection)

Expand Down Expand Up @@ -50,6 +51,7 @@ def load_config(self, filename):




application = service.Application('doord')
serviceCollection = service.IServiceCollection(application)

Expand Down

0 comments on commit 20e6f19

Please sign in to comment.