From 902ba87a8bba348be248d2b01187232c83a4c657 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 30 Aug 2008 22:38:44 -0400 Subject: add some sanity-check stuff for long-running daemons darcs-hash:20080831023844-84dde-b8c9ce5f38d33c7fd8a42dc0d3640d500e653011.gz --- scripts/xmppconfirmhandler.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/xmppconfirmhandler.php') diff --git a/scripts/xmppconfirmhandler.php b/scripts/xmppconfirmhandler.php index d2dbe4abc..ff166485d 100755 --- a/scripts/xmppconfirmhandler.php +++ b/scripts/xmppconfirmhandler.php @@ -176,6 +176,9 @@ class XmppConfirmHandler { } } +ini_set("max_execution_time", "0"); +ini_set("max_input_time", "0"); +set_time_limit(0); mb_internal_encoding('UTF-8'); $resource = ($argc > 1) ? $argv[1] : (common_config('xmpp', 'resource').'-confirm'); -- cgit v1.2.3-54-g00ecf