Page MenuHomePhabricator

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

Authored by epriestley on Nov 25 2013, 9:07 PM.
Tags
None
Referenced Files
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)
Fri, Mar 29, 6:09 AM
Unknown Object (File)
Feb 17 2024, 7:37 PM
Unknown Object (File)
Feb 10 2024, 10:51 PM
Unknown Object (File)
Jan 28 2024, 6:18 PM
Unknown Object (File)
Nov 25 2023, 2:51 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