Page MenuHomePhabricator

D19235.id46057.diff
No OneTemporary

D19235.id46057.diff

diff --git a/src/applications/diffusion/protocol/DiffusionCommandEngine.php b/src/applications/diffusion/protocol/DiffusionCommandEngine.php
--- a/src/applications/diffusion/protocol/DiffusionCommandEngine.php
+++ b/src/applications/diffusion/protocol/DiffusionCommandEngine.php
@@ -135,6 +135,11 @@
$future->setEnv($env);
+ // See T13108. By default, don't let any cluster command run indefinitely
+ // to try to avoid cases where `git fetch` hangs for some reason and we're
+ // left sitting with a held lock forever.
+ $future->setTimeout(phutil_units('15 minutes in seconds'));
+
return $future;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 29, 3:35 PM (6 d, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6735283
Default Alt Text
D19235.id46057.diff (634 B)

Event Timeline