mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
In Drydock, yield for reclaiming resources in the "released" state
Summary: Ref T13677. This was an accidental change in D21807: when reclaiming a resource, wait for it to be completely destroyed before allowing a lease to reclaim another resource. Test Plan: Reverts accidental behavior change in D21807. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13677 Differential Revision: https://secure.phabricator.com/D21809
This commit is contained in:
parent
1835ca1918
commit
a640a4a493
1 changed files with 1 additions and 0 deletions
|
@ -314,6 +314,7 @@ final class DrydockLeaseUpdateWorker extends DrydockWorker {
|
|||
->withStatuses(
|
||||
array(
|
||||
DrydockResourceStatus::STATUS_ACTIVE,
|
||||
DrydockResourceStatus::STATUS_RELEASED,
|
||||
))
|
||||
->setLimit(1)
|
||||
->execute();
|
||||
|
|
Loading…
Reference in a new issue