summaryrefslogtreecommitdiffstats
path: root/openstack/common/periodic_task.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixes import order nitsZhongyue Luo2013-05-151-0/+1
| | | | Change-Id: I4fdc8eed74dd90d6450864daba7492d5e7266448
* Copy recent changes in periodic tasks from nova.Michael Still2013-04-041-26/+98
| | | | | | | | | The nova periodic task code has moved on. Bring oslo inline with the new code. The next step after this is to update Quantum (the only user of this code I can find) to the new interface, and then move nova across to using this code. Change-Id: I3f041ca9a6ba9f0e5be4b29198d16454c9797fef
* Make project pyflakes clean.Monty Taylor2012-11-281-4/+8
| | | | | | | | | | | | | Added both a tox test-env for pyflakes and fixed the current pyflakes errors. This did actually fix a couple of bugs. The CI team has started using pyflakes on its projects and also has started using oslo for things, so ignoring pyflakes warnings on the oslo code was starting to get old. However, additionally, pyflakes is pretty solid, so we should maybe consider gating on it across the board. (% locals() is the biggest thing that we do that it doesn't like) Change-Id: Iac1ca62db301892b7863711162fcbc74807eb24f
* raise_on_error parameter shouldn't be passed to task functiongongysh2012-11-231-3/+2
| | | | | | | | | Modify the run_periodic_tasks() so that It has known parameters. Task function has the only parameter 'context' Bug #1081428 Change-Id: Ibc3da521df3dc47f8c136ade1070112fd5ea1039
* Import order clean-upZhongyue Luo2012-10-291-1/+1
| | | | | | Reorder imports by full module path Change-Id: If619b4b50aa052401f7fa65df57b74d4ad1b65a6
* Add basic periodic task infrastructure.Angus Salkeld2012-08-201-0/+112
So the idea is Manager will inherit from PeriodTasks and create a timer to call run_periodic_tasks(). Part of blueprint service-infrastructure Signed-off-by: Angus Salkeld <asalkeld@redhat.com> Change-Id: I822b8501ad184d0e5885cada1a3d7a847e2ca12c