diff --git a/neutron/agent/l3/agent.py b/neutron/agent/l3/agent.py index 5b0e14f35d9..0a968bdfb57 100644 --- a/neutron/agent/l3/agent.py +++ b/neutron/agent/l3/agent.py @@ -876,7 +876,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',