]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix hanged daemon notification (2)
authorAndrew Dolgov <fox@madoka.spb.ru>
Sun, 30 Sep 2007 03:13:27 +0000 (04:13 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Sun, 30 Sep 2007 03:13:27 +0000 (04:13 +0100)
functions.php

index 592272000dbd065c1694d9fe69fb41754c829b12..84d045d859e4e29a9a2e7119ba8c14c1461fa599 100644 (file)
 
                                $stamp = (int)read_stampfile("update_daemon.stamp");
 
+//                             $stamp_delta = time() - $stamp;
+//                             print "<param key=\"daemon_stamp_delta\" value=\"$stamp_delta\"/>";
+
                                if ($stamp) {
-                                       if (time() - $stamp > 86400) {
+                                       if (time() - $stamp > 3600*3) {
                                                $stamp_check = 0;
                                        } else {
                                                $stamp_check = 1;