Page MenuHomePhabricator

Support timeouts for Phage commands
ClosedPublic

Authored by epriestley on Mar 4 2017, 6:11 PM.
Tags
None
Referenced Files
F10892093: D17463.diff
Sun, Jul 3, 5:18 PM
Unknown Object (File)
Sat, Jul 2, 12:04 PM
Unknown Object (File)
Wed, Jun 29, 1:08 AM
Unknown Object (File)
Mon, Jun 27, 3:51 PM
Unknown Object (File)
Sun, Jun 26, 11:06 PM
Unknown Object (File)
Jun 4 2022, 6:13 AM
Unknown Object (File)
May 31 2022, 7:36 PM
Unknown Object (File)
May 28 2022, 8:37 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.