def poll(self): self._factory.poll() now = datetime.datetime.now() if now > self._beat_time: self._next_beat(now) beat_it(self._dashi, self._CFG, self._factory)
def dump_state(self, rpc=False): if rpc: return make_beat_msg(self._process_managers_map, self.CFG) else: beat_it(self.dashi, self.CFG, self._process_managers_map, log=self._log)
def dump_state(self): beat_it(self.dashi, self.CFG, self._process_managers_map, log=self._log)