From 9d9c9dd645458b4332e7848a106e0593c6d28340 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 22 Aug 2005 13:52:18 +0100 Subject: [PATCH] MIN_UPDATE_TIME, 600 -> 1800 sec --- backend.php | 3 +-- config.php-dist | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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); ?> -- 2.39.5