Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
F15418424: D17463.id41996.diff
Thu, Mar 20, 11:14 PM
F15398642: D17463.diff
Mon, Mar 17, 1:02 AM
Unknown Object (File)
Sat, Feb 22, 12:07 PM
Unknown Object (File)
Fri, Feb 21, 3:14 PM
Unknown Object (File)
Feb 9 2025, 3:25 AM
Unknown Object (File)
Feb 9 2025, 3:25 AM
Unknown Object (File)
Feb 9 2025, 3:25 AM
Unknown Object (File)
Jan 28 2025, 2:46 AM
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.