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

Method start

cluster/code/cluster.py:333–335  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

331 self.retransmit_timer = None
332
333 def start(self):
334 self.logger.info("scout starting")
335 self.send_prepare()
336
337 def send_prepare(self):
338 self.node.send(self.peers, Prepare(ballot_num=self.ballot_num))

Callers 15

emitFunction · 0.45
labelFunction · 0.45
titleFunction · 0.45
pathFunction · 0.45
serveFunction · 0.45
serveFunction · 0.45
injectFunction · 0.45
requestFunction · 0.45
mainFunction · 0.45
spawn_scoutMethod · 0.45
spawn_commanderMethod · 0.45
do_WelcomeMethod · 0.45

Calls 1

send_prepareMethod · 0.95

Tested by 1

serveFunction · 0.36