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, Jul 9, 9:31 AM
Unknown Object (File)
Thu, Jul 9, 9:31 AM
Unknown Object (File)
Wed, Jul 1, 5:21 AM
Unknown Object (File)
Jun 28 2026, 5:01 AM
Unknown Object (File)
Jun 27 2026, 1:47 AM
Unknown Object (File)
Jun 27 2026, 1:46 AM
Unknown Object (File)
Apr 2 2026, 9:40 PM
Unknown Object (File)
Feb 5 2026, 7:49 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.