Page MenuHomePhabricator

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

Authored by epriestley on Nov 25 2013, 9:07 PM.
Tags
None
Referenced Files
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)
Wed, Apr 10, 4:24 AM
Unknown Object (File)
Mar 29 2024, 6:09 AM
Unknown Object (File)
Feb 17 2024, 7:37 PM
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

Lint
Lint Skipped
Unit
Tests Skipped