Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Set_time_limit problems

Started by Muut Archive 11 years ago · 3 replies · 468 views
11 years ago

Hi!

Grav looks great, but I have issues on my real server, where set_time_limit is restricted. I found that it looks to be working if I enclose the two uses of set_time_limit (Response.php and Utils.php) inside a try...catch (the 'if' statement has to be inside the try too), but I'm not sure if that is the right thing to do. I suppose that we can ignore the exception in this case.

This is with 1.0.0-rc5.

Also, the two uses are guarded agains differently, maybe there should be a Utils function instead.

besre regards,
Vlad

11 years ago

Thanks, I answered on the PR. The if-s must be inside the try for it to work for me.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2563 9 years ago
Archive · by Muut Archive, 9 years ago
2 1689 9 years ago
Archive · by Muut Archive, 9 years ago
2 4980 9 years ago
Archive · by Muut Archive, 9 years ago
1 3805 9 years ago
Archive · by Muut Archive, 9 years ago
3 1798 9 years ago