From: Andrew Dolgov Date: Mon, 22 Aug 2005 12:52:18 +0000 (+0100) Subject: MIN_UPDATE_TIME, 600 -> 1800 sec X-Git-Tag: 20050823-1~16 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9d9c9dd645458b4332e7848a106e0593c6d28340;p=tt-rss.git MIN_UPDATE_TIME, 600 -> 1800 sec --- diff --git a/backend.php b/backend.php index a26d056b..72c61a8f 100644 --- a/backend.php +++ b/backend.php @@ -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, diff --git a/config.php-dist b/config.php-dist index 9126ef2f..c83cbaf3 100644 --- a/config.php-dist +++ b/config.php-dist @@ -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); ?>