]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Use scheduler for driving autoscaling task
authorZane Bitter <zbitter@redhat.com>
Tue, 7 May 2013 13:10:10 +0000 (15:10 +0200)
committerZane Bitter <zbitter@redhat.com>
Tue, 7 May 2013 13:10:10 +0000 (15:10 +0200)
commit80e3084a91ace801aa2e69fd6be6a711d9184ec3
tree8d907de9cc10d9ef0f6112b03551f537a1fd8d4a
parent38be6dd6f2d7e62f09178fd743d76fe11255e5fb
Use scheduler for driving autoscaling task

For threads that drive autoscaling events, run them to completion using the
task scheduler, to abstract out the sleeping from the main code.

Change-Id: I9b21404a171d92d6edbc59d3099d3ee34f08e22d
heat/engine/resources/autoscaling.py