1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-17 21:51:29 +00:00

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

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");