summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backend.php3
-rw-r--r--config.php-dist2
2 files changed, 2 insertions, 3 deletions
diff --git a/backend.php b/backend.php
index a26d056b5..72c61a8f5 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 9126ef2fd..c83cbaf32 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);
?>