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)
Tue, Nov 19, 5:54 AM
Unknown Object (File)
Oct 23 2024, 3:41 PM
Unknown Object (File)
Oct 20 2024, 1:02 PM
Unknown Object (File)
Oct 17 2024, 5:00 PM
Unknown Object (File)
Oct 5 2024, 5:45 PM
Unknown Object (File)
Sep 30 2024, 8:07 AM
Unknown Object (File)
Sep 5 2024, 11:13 PM
Unknown Object (File)
Sep 5 2024, 11:13 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
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.