From 75242b9c67aafa80b4d4a13cfae6c50ba7f85b79 Mon Sep 17 00:00:00 2001 From: Zane Bitter Date: Fri, 3 Oct 2014 14:22:10 -0400 Subject: [PATCH] Don't send multiple update-cancel messages to an event Change-Id: Ib64da11ed5584c1a2eef98378d3201a6949fac7d Closes-Bug: #1376900 --- heat/engine/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/engine/service.py b/heat/engine/service.py index eabcee294..5ece16b99 100644 --- a/heat/engine/service.py +++ b/heat/engine/service.py @@ -191,7 +191,7 @@ class ThreadGroupManager(object): eventlet.sleep() def send(self, stack_id, message): - for event in self.events.get(stack_id, []): + for event in self.events.pop(stack_id, []): event.send(message)