Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14006703
D19235.id46057.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.id46057.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
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)
Attached To
Mode
D19235: Give all commands from DiffusionCommandEngine a default 15 minute timeout
Attached
Detach File
Event Timeline
Log In to Comment