]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine move to per-stack periodic watch threads
authorSteven Hardy <shardy@redhat.com>
Mon, 19 Nov 2012 16:55:23 +0000 (16:55 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 19 Nov 2012 22:26:20 +0000 (22:26 +0000)
commitd89f6c0ba1c0da0bbd42e08b44cfd74e412d2143
tree27ffafd28ee2da0d71bc0b187bbf0741d2731a58
parent1563f3039f3335d53891da055dcbb2b2334a234f
heat engine move to per-stack periodic watch threads

Use the stack thread groups, so a separate watch thread is started
for each stack - this avoids some of the context scoping problems
previously encountered since we can pass the correct context to the
periodic task when starting it

Fixes bug 1078779

Change-Id: I56e6a4b126199587e91548f450956d77ab2158f3
Signed-off-by: Steven Hardy <shardy@redhat.com>
heat/engine/service.py
heat/engine/watchrule.py
heat/tests/test_engine_service.py