Merge "Fix py3 compatibility" into stable/rocky

This commit is contained in:
Zuul 2020-02-18 16:24:18 +00:00 committed by Gerrit Code Review
commit 5a4ae31c79
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ class L3NATAgent(ha.AgentMixin,
except oslo_messaging.MessagingTimeout:
if self.sync_routers_chunk_size > SYNC_ROUTERS_MIN_CHUNK_SIZE:
self.sync_routers_chunk_size = max(
self.sync_routers_chunk_size / 2,
self.sync_routers_chunk_size // 2,
SYNC_ROUTERS_MIN_CHUNK_SIZE)
LOG.error('Server failed to return info for routers in '
'required time, decreasing chunk size to: %s',