Merge "Fix py3 compatibility"
This commit is contained in:
commit
c8ef65a210
|
@ -876,7 +876,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