]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
sync periodic_task fix from incubator
authorTom Cammann <tom.cammann@hp.com>
Thu, 3 Jul 2014 10:39:11 +0000 (11:39 +0100)
committerTom Cammann <tom.cammann@hp.com>
Thu, 3 Jul 2014 14:46:10 +0000 (15:46 +0100)
commitcb06335d2d3359e5583cdde10ed73edfeadf6b97
treea68d2a438d352b8a3b6bf0bc2f77a7665bcb7a97
parent74daab5de36141b9662c120956cd442fc867ed3c
sync periodic_task fix from incubator

Set the value of time the periodic task was last run to a multiple of the
spacing value rather than the actual last time run. This ensures tasks runs
regularly but avoids synchronizing that interval with other nodes.

This patch also removes the coalescing of tasks which are _nearby_ (0.2
seconds away).

4dbd3aa Make periodic tasks run on regular spacing interval
21249f1 Fix parenthesis typo misunderstanding in periodic_task

Change-Id: I8873545578f104fd204fbc25493350128b2bc8d4
neutron/openstack/common/periodic_task.py