Page MenuHomePhabricator

Timeout `interpreter {{{ ... }}}` blocks after 15 seconds
ClosedPublic

Authored by epriestley on Nov 25 2013, 9:07 PM.
Tags
None
Referenced Files
F13182723: D7651.diff
Fri, May 10, 1:49 AM
F13177237: D7651.diff
Wed, May 8, 7:34 PM
F13173336: D7651.diff
Tue, May 7, 7:16 PM
Unknown Object (File)
Mon, Apr 29, 2:08 PM
Unknown Object (File)
Wed, Apr 24, 9:58 PM
Unknown Object (File)
Sun, Apr 14, 3:38 AM
Unknown Object (File)
Apr 10 2024, 4:24 AM
Unknown Object (File)
Mar 29 2024, 6:09 AM
Subscribers

Details

Summary

Fixes T4149. This could be a little cleaner (configurable time limits, explicit timeout errors) but stop the major case of looping/infinite commands.

Test Plan

Added sleep 5 && and set timeout to 1, saw an error + kill.

Diff Detail

Branch
timeoutdot
Lint
Lint Passed
Unit
Tests Passed