def __init__(self, msgh, mgrq, myname, config): CalcWorker.__init__(self, msgh, mgrq, myname, config) self.report_intvl = 4 self.report_threshold = 50 #self.eh.register_timer(self.report_intvl * 1000, # TMTAGS.SEND_REPORT, True) self.stat_user = StatUser(self.config['start'], self.config['end'])
def __init__(self, msgh, mgrq, myname, config): CalcWorker.__init__(self, msgh, mgrq, myname, config) self.report_intvl = 10 self.user_repo = {} self.eh.register_timer(self.report_intvl * 1000, TMTAGS.SEND_REPORT, True)
def __init__(self, msgh, mgrq, myname, config): CalcWorker.__init__(self, msgh, mgrq, myname, config) self.report_intvl = 10 self.eh.register_timer(self.report_intvl * 1000, TMTAGS.SEND_REPORT, True) self.data = {}
def __init__(self, msgh, mgrq, myname, config): CalcWorker.__init__(self, msgh, mgrq, myname, config) self.report_intvl = 4 self.report_threshold = 50 self.stat_user = StatUser(self.config['start'], self.config['end'])
def __init__(self, msgh, mgrq, myname, config): CalcWorker.__init__(self, msgh, mgrq, myname, config) self.report_intvl = 4 self.report_threshold= 100 self.report_counter = 0 self.stat_user = StatUser(self.config['start'], self.config['end'])