Homec4science

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

Authored by epriestley <git@epriestley.com> on Nov 25 2013, 23:55.

Description

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

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.

Reviewers: btrahan, skyronic

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4149

Differential Revision: https://secure.phabricator.com/D7651

Details

Committed
epriestley <git@epriestley.com>Nov 25 2013, 23:55
Pushed
aubortJan 31 2017, 17:16
Parents
rPHe944cf8ff48e: Propagate "edit policy" and "view policy" when creating a new template task
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH3d9f656cfceb: Timeout `interpreter {{{ ... }}}` blocks after 15 seconds (authored by epriestley <git@epriestley.com>).Nov 25 2013, 23:55