Switch agent report_interval option to float
Being able to set report_interval > 0 and < 1 makes it easier to consistently reproduce rpc race conditions. Change-Id: I4d907159147177e98b043e7e800aea5cf8c23103 Related-Bug: #1224001
This commit is contained in:
parent
cb7fee0813
commit
d90705e526
@ -32,8 +32,8 @@ ROOT_HELPER_OPTS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
AGENT_STATE_OPTS = [
|
AGENT_STATE_OPTS = [
|
||||||
cfg.IntOpt('report_interval', default=4,
|
cfg.FloatOpt('report_interval', default=4,
|
||||||
help=_('Seconds between nodes reporting state to server')),
|
help=_('Seconds between nodes reporting state to server')),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user