ceilometer/ceilometer/polling
Julien Danjou a034d2d8f5 polling: run polling tasks immediately on start
When Ceilometer polling agent start, one has to wait N seconds for the first
polling to happen. This makes testing extremely difficult.

I can't see any good reason to not poll at (re)start. Since the last run time
is lost anyway, the interval will never be perfect. So at least let's make it
convenient by polling on startup.

Also set a default random 0-10 seconds delay before the first poll so if a lot
of daemons are started at the same time they don't all hit the same endpoint at
the same time.

Change-Id: I0741a586cec499c259f0e90977f185c4e68a99d3
2017-11-23 10:29:10 +01:00
..
discovery separate base manager from pipeline 2017-11-16 14:43:46 -05:00
__init__.py separate base manager from pipeline 2017-11-16 14:43:46 -05:00
manager.py polling: run polling tasks immediately on start 2017-11-23 10:29:10 +01:00
plugin_base.py separate base manager from pipeline 2017-11-16 14:43:46 -05:00