Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
F19520675: D17463.diff
Fri, Jan 16, 3:36 PM
F19103005: D17463.id.diff
Dec 5 2025, 8:16 AM
F19100469: D17463.diff
Dec 4 2025, 11:14 PM
F19072415: D17463.id41995.diff
Nov 30 2025, 10:24 PM
F19063388: D17463.id.diff
Nov 29 2025, 6:23 PM
F18902691: D17463.id41996.diff
Nov 8 2025, 2:16 AM
F18902690: D17463.id41995.diff
Nov 8 2025, 2:16 AM
F18902689: D17463.id.diff
Nov 8 2025, 2:16 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.