Set the time limit of the deamon.

This commit is contained in:
Michael 2016-11-27 23:58:26 +00:00
parent d96b827e32
commit 8d8faa8b7b

View file

@ -87,6 +87,9 @@ file_put_contents($pidfile, $pid);
// Now running as a daemon. // Now running as a daemon.
while (true) { while (true) {
// Just to be sure that this script really runs endlessly
set_time_limit(0);
// Call the poller // Call the poller
$cmdline = $php.' include/poller.php'; $cmdline = $php.' include/poller.php';