From: Gary Kotton Date: Sun, 17 Feb 2013 15:46:14 +0000 (+0000) Subject: Shorten the DHCP default resync_interval X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=cc78724a1e92887883149f5e3aee827283636733;p=openstack-build%2Fneutron-build.git Shorten the DHCP default resync_interval Fixes bug 1128180 Change-Id: Ie63ef674b5e05fab659e675774a1b25cd57d4c41 --- diff --git a/etc/dhcp_agent.ini b/etc/dhcp_agent.ini index 1d3eef0d3..0422baf84 100644 --- a/etc/dhcp_agent.ini +++ b/etc/dhcp_agent.ini @@ -9,7 +9,7 @@ # The DHCP agent will resync its state with Quantum to recover from any # transient notification or rpc errors. The interval is number of # seconds between attempts. -# resync_interval = 30 +# resync_interval = 5 # The DHCP requires that an inteface driver be set. Choose the one that best # matches you plugin. diff --git a/quantum/agent/dhcp_agent.py b/quantum/agent/dhcp_agent.py index 0167e55e7..386ca175f 100644 --- a/quantum/agent/dhcp_agent.py +++ b/quantum/agent/dhcp_agent.py @@ -46,7 +46,7 @@ METADATA_PORT = 80 class DhcpAgent(object): OPTS = [ - cfg.IntOpt('resync_interval', default=30, + cfg.IntOpt('resync_interval', default=5, help=_("Interval to resync.")), cfg.StrOpt('dhcp_driver', default='quantum.agent.linux.dhcp.Dnsmasq',