Merge "Fix py3 compatibility" into stable/rocky
This commit is contained in:
commit
5a4ae31c79
|
@ -725,7 +725,7 @@ class L3NATAgent(ha.AgentMixin,
|
||||||
except oslo_messaging.MessagingTimeout:
|
except oslo_messaging.MessagingTimeout:
|
||||||
if self.sync_routers_chunk_size > SYNC_ROUTERS_MIN_CHUNK_SIZE:
|
if self.sync_routers_chunk_size > SYNC_ROUTERS_MIN_CHUNK_SIZE:
|
||||||
self.sync_routers_chunk_size = max(
|
self.sync_routers_chunk_size = max(
|
||||||
self.sync_routers_chunk_size / 2,
|
self.sync_routers_chunk_size // 2,
|
||||||
SYNC_ROUTERS_MIN_CHUNK_SIZE)
|
SYNC_ROUTERS_MIN_CHUNK_SIZE)
|
||||||
LOG.error('Server failed to return info for routers in '
|
LOG.error('Server failed to return info for routers in '
|
||||||
'required time, decreasing chunk size to: %s',
|
'required time, decreasing chunk size to: %s',
|
||||||
|
|
Loading…
Reference in New Issue