Merge "NSX: make sync backend run more often"
This commit is contained in:
commit
7193cd821d
@ -137,7 +137,7 @@
|
|||||||
# as soon as the previous is completed.
|
# as soon as the previous is completed.
|
||||||
# If this value is set to 0, the state synchronization thread for this
|
# If this value is set to 0, the state synchronization thread for this
|
||||||
# Neutron instance will be disabled.
|
# Neutron instance will be disabled.
|
||||||
# state_sync_interval = 120
|
# state_sync_interval = 10
|
||||||
|
|
||||||
# Random additional delay between two runs of the state synchronization task.
|
# Random additional delay between two runs of the state synchronization task.
|
||||||
# An additional wait time between 0 and max_random_sync_delay seconds
|
# An additional wait time between 0 and max_random_sync_delay seconds
|
||||||
@ -152,7 +152,7 @@
|
|||||||
# interval between two subsequent requests.
|
# interval between two subsequent requests.
|
||||||
# The value for this parameter must never exceed state_sync_interval.
|
# The value for this parameter must never exceed state_sync_interval.
|
||||||
# If this does, an error will be raised at startup.
|
# If this does, an error will be raised at startup.
|
||||||
# min_sync_req_delay = 10
|
# min_sync_req_delay = 1
|
||||||
|
|
||||||
# Minimum number of resources to be retrieved from NSX in a single status
|
# Minimum number of resources to be retrieved from NSX in a single status
|
||||||
# synchronization request.
|
# synchronization request.
|
||||||
|
@ -65,7 +65,7 @@ base_opts = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
sync_opts = [
|
sync_opts = [
|
||||||
cfg.IntOpt('state_sync_interval', default=120,
|
cfg.IntOpt('state_sync_interval', default=10,
|
||||||
deprecated_group='NVP_SYNC',
|
deprecated_group='NVP_SYNC',
|
||||||
help=_("Interval in seconds between runs of the state "
|
help=_("Interval in seconds between runs of the state "
|
||||||
"synchronization task. Set it to 0 to disable it")),
|
"synchronization task. Set it to 0 to disable it")),
|
||||||
@ -74,7 +74,7 @@ sync_opts = [
|
|||||||
help=_("Maximum value for the additional random "
|
help=_("Maximum value for the additional random "
|
||||||
"delay in seconds between runs of the state "
|
"delay in seconds between runs of the state "
|
||||||
"synchronization task")),
|
"synchronization task")),
|
||||||
cfg.IntOpt('min_sync_req_delay', default=10,
|
cfg.IntOpt('min_sync_req_delay', default=1,
|
||||||
deprecated_group='NVP_SYNC',
|
deprecated_group='NVP_SYNC',
|
||||||
help=_('Minimum delay, in seconds, between two state '
|
help=_('Minimum delay, in seconds, between two state '
|
||||||
'synchronization queries to NSX. It must not '
|
'synchronization queries to NSX. It must not '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user