def __init__(self, msgh, mgrq, myname, config): MyProcess.__init__(self, msgh, myname) self.mgrq = mgrq self.count = 0 self.current = 0 self.recent_current = 0 self.rate_intvl = 1 self.rate = 0 self.config = config self.calc_queues = [] self.report_intvl = 5 self.thr = None
def __init__(self, msgh, mgrq, myname, config): MyProcess.__init__(self, msgh, myname) self.mgrq = mgrq self.count = 0 self.current = 0 self.recent_current = 0 self.rate_intvl = 1 self.rate = 0 self.config = config self.calc_queues = [] self.report_intvl = 5 self.alive_chk_intvl = 1 self.thr = None self.calc_queues = [] self.rrobin = -1
def __init__(self, msgh): MyProcess.__init__(self, msgh, "CalcManager") self.config = None self.report_intvl = 5 self.workers_data = {} self._init_timers()
def __init__(self, msgh): MyProcess.__init__(self, msgh, "GrabberManager") self.config = None self.workers_data = {} self.report_intvl = 5