Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
F15467401: D17463.diff
Thu, Apr 3, 2:32 PM
F15465029: D17463.id41996.diff
Wed, Apr 2, 1:52 PM
F15463393: D17463.id41995.diff
Tue, Apr 1, 11:03 PM
F15459070: D17463.id.diff
Mon, Mar 31, 9:35 AM
F15458423: D17463.diff
Mon, Mar 31, 12:29 AM
F15435522: D17463.diff
Tue, Mar 25, 8:45 AM
F15418424: D17463.id41996.diff
Thu, Mar 20, 11:14 PM
F15398642: D17463.diff
Mon, Mar 17, 1:02 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.