Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 3, 10:39 PM
Unknown Object (File)
May 29 2025, 9:08 AM
Unknown Object (File)
May 10 2025, 2:14 PM
Unknown Object (File)
May 6 2025, 10:31 PM
Unknown Object (File)
Apr 25 2025, 6:14 AM
Unknown Object (File)
Apr 23 2025, 6:47 PM
Unknown Object (File)
Apr 3 2025, 2:32 PM
Unknown Object (File)
Apr 2 2025, 1:52 PM
Subscribers
None

Details

Summary

Ref T2794. Occasionally stuff hangs for whatever reason. Provide a crude per-command timeout as a general tool for dealing with this.

Test Plan

Added some sleep and ran with --timeout, saw commands get killed and reported as failed.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 4 2017, 6:11 PM
This revision was automatically updated to reflect the committed changes.