()
| 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): |