Try to get more execution time

This commit is contained in:
Michael 2016-11-27 10:01:24 +00:00
parent 636a033364
commit df0d33c138
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,11 @@ function worker_init($a){
call_worker();
if ($r = poller_worker_process()) {
// On most configurations this parameter wouldn't have any effect.
// But since it doesn't destroy anything, we just try to get more execution time in any way.
set_time_limit(0);
poller_execute($r[0]);
}