Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14055673
D19235.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
634 B
Referenced Files
None
Subscribers
None
D19235.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 2:36 PM (6 h, 59 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6735283
Default Alt Text
D19235.diff (634 B)
Attached To
Mode
D19235: Give all commands from DiffusionCommandEngine a default 15 minute timeout
Attached
Detach File
Event Timeline
Log In to Comment