Increase and randomize healthcheck interval to avoid cpu congestion.
All the healthcheck timers are triggered at the same time which causes
cpu congestion. With the default interval of 30s this cause
unnecessary stress on the environment.
We increase the default interval and randomize the trigger to 3/4 of
the timer. Tasks, on average and by default, should thus still be
triggered every minute, but ranging from 15s to 1m45s.
Reviewed: https:/ /review. openstack. org/635129 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=074930f2a23 1ea3d9c49178a4a cfa77a52bb7e42
Committed: https:/
Submitter: Zuul
Branch: master
commit 074930f2a231ea3 d9c49178a4acfa7 7a52bb7e42
Author: Sofer Athlan-Guyot <email address hidden>
Date: Wed Feb 6 12:00:23 2019 +0100
Increase and randomize healthcheck interval to avoid cpu congestion.
All the healthcheck timers are triggered at the same time which causes
cpu congestion. With the default interval of 30s this cause
unnecessary stress on the environment.
We increase the default interval and randomize the trigger to 3/4 of
the timer. Tasks, on average and by default, should thus still be
triggered every minute, but ranging from 15s to 1m45s.
Change-Id: Ib11b08b5d0dec0 3db9740520f05fe 8f1ff962192
Closes-Bug: #1814870