From: Michael Date: Sun, 27 Nov 2016 23:58:26 +0000 (+0000) Subject: Set the time limit of the deamon. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8d8faa8b7b77931bd2448bb31cea1d916f8199e9;p=friendica.git Set the time limit of the deamon. --- diff --git a/util/daemon.php b/util/daemon.php index e93306df12..266ddcd754 100644 --- a/util/daemon.php +++ b/util/daemon.php @@ -87,6 +87,9 @@ file_put_contents($pidfile, $pid); // Now running as a daemon. while (true) { + // Just to be sure that this script really runs endlessly + set_time_limit(0); + // Call the poller $cmdline = $php.' include/poller.php';