Updated openstack/openstack

Project: openstack-infra/gear  9035599e90190abc2bc834dd0478fc4a9ba3498f

Move running check in getJob

The previous change correctly fixed a race condition, however, if
that code path is used, then the accounting in self.waiting_for_jobs
could be incorrect.  That's not very important because at the moment
restarting a worker is not supported, so that variable will not be
used again.  However, if we move the check a little earlier, we can
keep the accounting accurate while still handling the race condition.

Change-Id: Ide6f1cd16f72ce7e92dbf2f78e370195afb8a334
This commit is contained in:
Jenkins
2015-03-26 20:50:08 +00:00
committed by Gerrit Code Review
parent ebb381051e
commit b3b0902b57

2
gear

Submodule gear updated: 0b6bf90f3d...9035599e90