Page MenuHomePhabricator

D13690.diff
No OneTemporary

D13690.diff

diff --git a/src/applications/drydock/blueprint/DrydockWorkingCopyBlueprintImplementation.php b/src/applications/drydock/blueprint/DrydockWorkingCopyBlueprintImplementation.php
--- a/src/applications/drydock/blueprint/DrydockWorkingCopyBlueprintImplementation.php
+++ b/src/applications/drydock/blueprint/DrydockWorkingCopyBlueprintImplementation.php
@@ -225,7 +225,6 @@
$resource->reload();
}
- $this->log('Acquiring new host lease for working copy...');
$host_attributes = array();
foreach ($lease->getAttributes() as $key => $value) {
@@ -241,11 +240,16 @@
array(
'platform' => $lease->getAttribute('platform'),
) + $host_attributes)
- ->waitUntilActive();
+ ->queueForActivation();
+ $this->log(pht(
+ 'Acquiring new host lease %d for working copy...',
+ $host_lease->getID()));
$lease->setAttribute('host.lease', $host_lease->getID());
$lease->setAttribute('host.lease.phid', $host_lease->getPHID());
+ $host_lease->waitUntilActive();
+
list($cache_lease, $source_url) = $this->tryAcquireWorkingCopyCache(
$host_lease->getResource(),
$lease,

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 19, 2:51 PM (20 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6907780
Default Alt Text
D13690.diff (1 KB)

Event Timeline