Try to get more execution time
This commit is contained in:
parent
636a033364
commit
df0d33c138
1 changed files with 5 additions and 0 deletions
|
@ -29,6 +29,11 @@ function worker_init($a){
|
||||||
call_worker();
|
call_worker();
|
||||||
|
|
||||||
if ($r = poller_worker_process()) {
|
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]);
|
poller_execute($r[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue