Shorten the DHCP default resync_interval

Fixes bug 1128180

Change-Id: Ie63ef674b5e05fab659e675774a1b25cd57d4c41
This commit is contained in:
Gary Kotton 2013-02-17 15:46:14 +00:00
parent 2d1762ced0
commit cc78724a1e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
# The DHCP agent will resync its state with Quantum to recover from any # The DHCP agent will resync its state with Quantum to recover from any
# transient notification or rpc errors. The interval is number of # transient notification or rpc errors. The interval is number of
# seconds between attempts. # seconds between attempts.
# resync_interval = 30 # resync_interval = 5
# The DHCP requires that an inteface driver be set. Choose the one that best # The DHCP requires that an inteface driver be set. Choose the one that best
# matches you plugin. # matches you plugin.

View File

@ -46,7 +46,7 @@ METADATA_PORT = 80
class DhcpAgent(object): class DhcpAgent(object):
OPTS = [ OPTS = [
cfg.IntOpt('resync_interval', default=30, cfg.IntOpt('resync_interval', default=5,
help=_("Interval to resync.")), help=_("Interval to resync.")),
cfg.StrOpt('dhcp_driver', cfg.StrOpt('dhcp_driver',
default='quantum.agent.linux.dhcp.Dnsmasq', default='quantum.agent.linux.dhcp.Dnsmasq',