]> git.wh0rd.org Git - tt-rss.git/commitdiff
daemon: properly limit check on stampfile
authorAndrew Dolgov <fox@madoka.spb.ru>
Mon, 16 Jul 2007 13:10:32 +0000 (14:10 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Mon, 16 Jul 2007 13:10:32 +0000 (14:10 +0100)
functions.php

index 6376a282c8b3cd2393e02aaf483adec96e9bde67..9f7f39d247f488029ae2c3c387c90ad2e4b027fb 100644 (file)
                        print "<param key=\"daemon_is_running\" value=\"".
                                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");