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 7be990a16c
commit 5d26f41d59
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ state_path = /opt/stack/data
# 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.

View File

@ -46,7 +46,7 @@ NS_PREFIX = 'qdhcp-'
class DhcpAgent(object):
OPTS = [
cfg.StrOpt('root_helper', default='sudo'),
cfg.IntOpt('resync_interval', default=30),
cfg.IntOpt('resync_interval', default=5),
cfg.StrOpt('dhcp_driver',
default='quantum.agent.linux.dhcp.Dnsmasq',
help="The driver used to manage the DHCP server."),