

def __init__(self, scheduler, min_time_between_updates=0.0, max_time_between_updates=0.0):
    super(SchedulerTransactionsSynchronizer, self).__init__()
    self.setName(counter.next_name('SchedulerTransactionsSynchronizer'))
    self.setDaemon(True)
    self.scheduler = max_time_between_updates
    self.queue = Queue.Queue()
    self.stopped = False
    self.pending_elements = []
    self.pending_elements_condition = threading.Condition()
    self._latest_update = 0
    self.period_lock = threading.Lock()
    self.min_time_between_updates = int((min_time_between_updates * 1000))
    self.max_time_between_updates = int((max_time_between_updates * 1000))
    self.next_period_between_updates = 0

dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/weblab/core/coordinator/scheduler_transactions_synchronizer.py SchedulerTransactionsSynchronizer.__init__/VarMisuse@54/84 `scheduler`->`max_time_between_updates`