]> git.wh0rd.org Git - tt-rss.git/commitdiff
MIN_UPDATE_TIME, 600 -> 1800 sec
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 22 Aug 2005 12:52:18 +0000 (13:52 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 22 Aug 2005 12:52:18 +0000 (13:52 +0100)
backend.php
config.php-dist

index a26d056b5086d5bdf3858ef286b6def8a11c49ce..72c61a8f5f82dcca27c7eb06e0464065ce1cb368 100644 (file)
@@ -41,9 +41,8 @@
                        pg_query("UPDATE ttrss_entries SET last_read = NOW(),unread = false");
                }
 
-               if ($fetch) update_all_feeds($link, $fetch);
+               update_all_feeds($link, $fetch);
                
-
                $result = pg_query("SELECT *,
                        (SELECT count(id) FROM ttrss_entries 
                                WHERE feed_id = ttrss_feeds.id) AS total,
index 9126ef2fd95effe10e5afcd47af9dcd47f0475f5..c83cbaf324673ead4bc9adfa32dcb8c25f4c63a2 100644 (file)
@@ -2,7 +2,7 @@
        define(DB_CONN, "host=localhost dbname=fox user=fox password=XXXXXXXXXXX");
        define('MAGPIE_CACHE_DIR', '/var/tmp/magpie-ttrss-cache');
        define(HEADLINES_PER_PAGE, 15);
-       define(MIN_UPDATE_TIME, 600);
+       define(MIN_UPDATE_TIME, 1800);
 //     define(CONTENT_CHECK_MD5, false);
 ?>