Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
F20916020: D17463.id41996.diff
Sat, Jun 27, 1:47 AM
F20915987: D17463.id41995.diff
Sat, Jun 27, 1:46 AM
Unknown Object (File)
Apr 2 2026, 9:40 PM
Unknown Object (File)
Feb 5 2026, 7:49 AM
Unknown Object (File)
Jan 16 2026, 3:36 PM
Unknown Object (File)
Dec 5 2025, 8:16 AM
Unknown Object (File)
Dec 4 2025, 11:14 PM
Unknown Object (File)
Nov 30 2025, 10:24 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
Branch
phage1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15899
Build 21050: Run Core Tests
Build 21049: arc lint + arc unit

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.