]> git.mxchange.org Git - friendica.git/commitdiff
Set the time limit of the deamon.
authorMichael <heluecht@pirati.ca>
Sun, 27 Nov 2016 23:58:26 +0000 (23:58 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 27 Nov 2016 23:58:26 +0000 (23:58 +0000)
util/daemon.php

index e93306df12bff604f85447abccf2e48a5e7cd1c1..266ddcd754f2ac499a88618d93ee267136a98861 100644 (file)
@@ -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';