Home
last modified time | relevance | path

Searched refs:maxExecutionTime (Results 1 – 1 of 1) sorted by relevance

/plugin/prolog/
H A Dprolog_tag.php85 * @param string $maxExecutionTime the limit for maximum interpretation time (in seconds)
88 function execute($prologCode = null, $maxExecutionTime = 5) argument
95 $maxExecutionTime = intval($maxExecutionTime);
96 if($maxExecutionTime < 1 || $maxExecutionTime > 5) //1sec - 30sec
97 $maxExecutionTime = 5;
121 $maxExecutionTime = $maxExecutionTime * 1000000;
123 while($status['running'] && $maxExecutionTime != 0) {
125 $maxExecutionTime -= $step;