Set the time limit of the deamon.
This commit is contained in:
parent
d96b827e32
commit
8d8faa8b7b
1 changed files with 3 additions and 0 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue