Re-add 0.5 second delay before secondary to avoid minor ping loss
This commit is contained in:
parent
0499ca5b47
commit
b0084f6a18
|
@ -132,6 +132,7 @@ class RouterInstance():
|
|||
def become_secondary(self):
|
||||
ansiiprint.echo('Setting router {} to secondary state'.format(self.name), '', 'i')
|
||||
ansiiprint.echo('Network list: {}'.format(', '.join(self.network_list)), '', 'c')
|
||||
time.sleep(0.5)
|
||||
for network in self.s_network:
|
||||
self.s_network[network].stopDHCPServer()
|
||||
self.s_network[network].removeGatewayAddress()
|
||||
|
|
Loading…
Reference in New Issue