vrrp: fix busy timer by the default parameter
Currently, default 'vrrp_statistics' is zero. Thereby TimerEventSender() kicks VRRPRouter._EventStatisticsOut() without waiting. Since CPU usage will be 100%, this is an unsuitable default value. Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
29716083b9
commit
1b62801f49
@ -120,7 +120,7 @@ class VRRPConfig(object):
|
||||
priority=vrrp.VRRP_PRIORITY_BACKUP_DEFAULT, ip_addresses=None,
|
||||
advertisement_interval=vrrp.VRRP_MAX_ADVER_INT_DEFAULT_IN_SEC,
|
||||
preempt_mode=True, preempt_delay=0, accept_mode=False,
|
||||
statistics_interval=0, resource_id=None):
|
||||
statistics_interval=30, resource_id=None):
|
||||
# To allow version and priority default
|
||||
assert vrid is not None
|
||||
assert ip_addresses is not None
|
||||
|
Loading…
Reference in New Issue
Block a user