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/xmppdaemon.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/xmppdaemon.php') diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index 77cfc1963..37d638b02 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -306,6 +306,9 @@ class XMPPDaemon { } } +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') . '-listen'); -- cgit v1.2.3-54-g00ecf