[BlueOnyx:15902] Re: PHP timeout also on 5207R/5208R

Robert Fitzpatrick robert at webtent.org
Sun Sep 7 08:39:53 -05 2014


Greg Kuhnert wrote:
> Try this;
>
> Instead of a single long sleep, do a loop with lots of small sleeps... I think the max execution time is checked only in between individual statements.... but it will not interrupt a single statement mid way through executing.
>

My apologies, I guess I should have googled how to test first, its fine 
using an infinite for loop, sleep doesn't count at all. Now I can get 
back with a developer who says their script doesn't time out according 
to settings. The max_execution_time is working perfectly.

-- 
Robert



More information about the Blueonyx mailing list