MRN-696: IIS Deployment hangs up

Change-Id: I29722fd683e84778e8b28d9677694c85b2aa6c49
This commit is contained in:
Stan Lagun 2013-07-30 13:54:21 +04:00
parent 024c72f327
commit 63146eca8a

View File

@ -49,6 +49,7 @@ class WindowsAgentExecutor(CommandBase):
with self._rmqclient.open(self._results_queue) as subscription:
while self.has_pending_commands():
msg = subscription.get_message()
msg.ack()
msg_id = msg.id.lower()
item, index = muranoconductor.helpers.find(
lambda t: t['id'] == msg_id, self._pending_list)