From 2164bd723a73a47c880c48d55007c8cce7e74c38 Mon Sep 17 00:00:00 2001 From: sam marshall Date: Thu, 8 May 2014 11:32:14 +0100 Subject: [PATCH] MDL-45477 Behat: List of steps takes too long to load, times out Increase time limit to 300 seconds (5 minutes). --- admin/tool/behat/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/tool/behat/index.php b/admin/tool/behat/index.php index f68ec130743..5e71bdff59d 100644 --- a/admin/tool/behat/index.php +++ b/admin/tool/behat/index.php @@ -27,6 +27,11 @@ require_once($CFG->libdir.'/adminlib.php'); require_once($CFG->dirroot . '/' . $CFG->admin . '/tool/behat/locallib.php'); require_once($CFG->libdir . '/behat/classes/behat_config_manager.php'); +// This page usually takes an exceedingly long time to load, so we need to +// increase the time limit. At present it takes about a minute on some +// systems, but let's allow room for expansion. +core_php_time_limit::raise(300); + $filter = optional_param('filter', '', PARAM_ALPHANUMEXT); $type = optional_param('type', false, PARAM_ALPHAEXT); $component = optional_param('component', '', PARAM_ALPHAEXT);