Skip to content

Commit

Permalink
Switch agent report_interval option to float
Browse files Browse the repository at this point in the history
Being able to set report_interval > 0 and < 1 makes
it easier to consistently reproduce rpc race
conditions.

Change-Id: I4d907159147177e98b043e7e800aea5cf8c23103
Related-Bug: #1224001
  • Loading branch information
cubeek authored and marun committed Oct 1, 2013
1 parent b94a602 commit a67bce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neutron/agent/common/config.py
Expand Up @@ -32,8 +32,8 @@
]

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


Expand Down

0 comments on commit a67bce7

Please sign in to comment.