Set the time limit of the deamon.
This commit is contained in:
parent
d96b827e32
commit
8d8faa8b7b
|
@ -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';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue