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 cb7fee0813
commit d90705e526

View File

@ -32,7 +32,7 @@ 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')),
] ]