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)
Tue, Dec 24, 3:19 AM
Unknown Object (File)
Sat, Dec 21, 4:32 PM
Unknown Object (File)
Sat, Dec 14, 9:57 PM
Unknown Object (File)
Dec 9 2024, 2:33 PM
Unknown Object (File)
Nov 30 2024, 7:51 AM
Unknown Object (File)
Nov 25 2024, 10:58 AM
Unknown Object (File)
Nov 21 2024, 12:31 AM
Unknown Object (File)
Nov 17 2024, 11:59 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

Lint
Lint Skipped
Unit
Tests Skipped