Beispiel #1
0
 def __init__(self, conf, session):
     CronJob.__init__(self)
     self.interval = self.parse(
         conf.string('detach', 'interval', 'seconds=5'))
     self.span = self.parse(conf.string('detach', 'span', 'hours=1'))
     self.timeout = conf.float('orbit', 'timeout', 120)
     self._sess = session
     self.conf = conf
Beispiel #2
0
 def __init__(self, conf, session):
     CronJob.__init__(self)
     self.interval = self.parse(conf.string('detach', 'interval',
                                            'seconds=5'))
     self.span = self.parse(conf.string('detach', 'span', 'hours=1'))
     self.timeout = conf.float('orbit', 'timeout', 120)
     self._sess = session
     self.conf = conf
Beispiel #3
0
 def __init__(self, conf):
     CronJob.__init__(self)
     self.span = conf.string('suspects', 'span', 'hours=1')
     self.interval = conf.string('suspects', 'interval', 'seconds=5')
     self.timeout = conf.float('orbit', 'timeout', 120)
Beispiel #4
0
 def __init__(self, conf):
     CronJob.__init__(self)
     self.span = conf.string('suspects', 'span', 'hours=1')
     self.interval = conf.string('suspects', 'interval', 'seconds=5')
     self.timeout = conf.float('orbit', 'timeout', 120)