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:
Jakub Libosvar 2013-10-01 18:27:44 +00:00 committed by Maru Newby
parent b94a602528
commit a67bce77e1

View File

@ -32,8 +32,8 @@ ROOT_HELPER_OPTS = [
]
AGENT_STATE_OPTS = [
cfg.IntOpt('report_interval', default=4,
help=_('Seconds between nodes reporting state to server')),
cfg.FloatOpt('report_interval', default=4,
help=_('Seconds between nodes reporting state to server')),
]