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)
Thu, Apr 11, 7:54 AM
Unknown Object (File)
Mon, Apr 8, 1:30 AM
Unknown Object (File)
Sun, Apr 7, 10:55 AM
Unknown Object (File)
Thu, Apr 4, 1:24 AM
Unknown Object (File)
Mon, Apr 1, 12:12 AM
Unknown Object (File)
Sun, Mar 24, 11:10 AM
Unknown Object (File)
Mar 4 2024, 4:22 PM
Unknown Object (File)
Feb 26 2024, 9:30 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.