diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-30 22:38:44 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-30 22:38:44 -0400 |
commit | 902ba87a8bba348be248d2b01187232c83a4c657 (patch) | |
tree | c55bf676878ad0acc5ad2e23f3ea29afca2019e2 /scripts/ombqueuehandler.php | |
parent | ed2aeecfddcbf02a9183a5b5b29262ebda4c27fe (diff) |
add some sanity-check stuff for long-running daemons
darcs-hash:20080831023844-84dde-b8c9ce5f38d33c7fd8a42dc0d3640d500e653011.gz
Diffstat (limited to 'scripts/ombqueuehandler.php')
-rwxr-xr-x | scripts/ombqueuehandler.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php index fa3446853..da089feab 100755 --- a/scripts/ombqueuehandler.php +++ b/scripts/ombqueuehandler.php @@ -62,6 +62,9 @@ class OmbQueueHandler extends QueueHandler { } } +ini_set("max_execution_time", "0"); +ini_set("max_input_time", "0"); +set_time_limit(0); mb_internal_encoding('UTF-8'); $id = ($argc > 1) ? $argv[1] : NULL; |