View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
14639Feature requestsOtherpublic2019-03-12 17:58
ReporterDenisChenu Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary14639: Usage of max_execution_time only when needed
Description

We have max_execution_time in config-default
https://github.com/LimeSurvey/LimeSurvey/blob/b1881911c377c19c3273b795714ce28f1fb4506c/application/config/config-defaults.php#L705

And we use for all controller
https://github.com/LimeSurvey/LimeSurvey/blob/b1881911c377c19c3273b795714ce28f1fb4506c/application/core/LSYii_Controller.php#L104

But if it take more than 20 minutes for a public survey or to save a Question : there are an issue

We must set it only when it potentially needed

Additional Information

Think it potentially needed only for pdf stats

Maybe we can have this one to less time …
And in statitics : reset to this one each question.

When called, set_time_limit() restarts the timeout counter from zero. In other words, if the timeout is the default 30 seconds, and 25 seconds into script execution a call such as set_time_limit(20) is made, the script will run for a total of 45 seconds before timing out.

Source : https://secure.php.net/manual/en/function.set-time-limit.php

TagsNo tags attached.
Bug heat2
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2019-03-12 17:58

developer   ~50933

I always set it to 120 in config.php when i develop …

Issue History

Date Modified Username Field Change
2019-03-12 17:57 DenisChenu New Issue
2019-03-12 17:58 DenisChenu Note Added: 50933