MCPcopy
hub / github.com/aosabook/500lines / active

Method active

cluster/code/cluster.py:380–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

378 def start(self):
379 # reminder others we're active before LEADER_TIMEOUT expires
380 def active():
381 if self.active:
382 self.node.send(self.peers, Active())
383 self.set_timer(LEADER_TIMEOUT / 2.0, active)
384 active()
385
386 def spawn_scout(self):

Callers

nothing calls this directly

Calls 2

sendMethod · 0.45
set_timerMethod · 0.45

Tested by

no test coverage detected