daemon: properly limit check on stampfile

This commit is contained in:
Andrew Dolgov 2007-07-16 14:10:32 +01:00
parent 8e00ae9b58
commit 784b47a3a3
1 changed files with 1 additions and 1 deletions

View File

@ -2331,7 +2331,7 @@
print "<param key=\"daemon_is_running\" value=\"". print "<param key=\"daemon_is_running\" value=\"".
sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>"; sprintf("%d", file_is_locked("update_daemon.lock")) . "\"/>";
if ($_SESSION["daemon_stamp_check"] + 0 < time()) { if ($_SESSION["daemon_stamp_check"] + 600 < time()) {
$stamp = (int)read_stampfile("update_daemon.stamp"); $stamp = (int)read_stampfile("update_daemon.stamp");