Merge "Switch to using spawn to properly treat errors during sync_state"
This commit is contained in:
commit
0c6ed2a016
@ -163,7 +163,7 @@ class DhcpAgent(manager.Manager):
|
|||||||
'network %s'), deleted_id)
|
'network %s'), deleted_id)
|
||||||
|
|
||||||
for network in active_networks:
|
for network in active_networks:
|
||||||
pool.spawn_n(self.safe_configure_dhcp_for_network, network)
|
pool.spawn(self.safe_configure_dhcp_for_network, network)
|
||||||
pool.waitall()
|
pool.waitall()
|
||||||
LOG.info(_('Synchronizing state complete'))
|
LOG.info(_('Synchronizing state complete'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user