Reduce default polling interval to 30 seconds

The initial value of 300 seconds was a conservative estimate. However,
the requests and responses are somewhat small, so we can drop the polling
interval significantly and still maintain a high degree of network
scalability. After measuring the responses from the ec2 and cfn servers
with typical workloads, at 30 second intervals 100 servers will generate
around 26kB/s of requests, with about 66kB/s of responses.

Change-Id: Iaa99ae405ba7c72ef8afc11c946400a2d0db5206
This commit is contained in:
Clint Byrum 2013-10-25 09:38:13 -07:00
parent 3b052fd09c
commit 69d74dde12
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ opts = [
help='Pass this option to make os-collect-config exit after'
' one execution of command. This behavior is implied if no'
' command is specified.'),
cfg.FloatOpt('polling-interval', short='i', default=300,
cfg.FloatOpt('polling-interval', short='i', default=30,
help='When running continuously, pause this many seconds'
' between collecting data.'),
cfg.BoolOpt('print-cachedir',