Shorten the DHCP default resync_interval
Fixes bug 1128180 Change-Id: Ie63ef674b5e05fab659e675774a1b25cd57d4c41
This commit is contained in:
parent
2d1762ced0
commit
cc78724a1e
@ -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.
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user