From 566417c4e73dbbd872b01ebdbc83abf2063dbcaf Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 2 May 2013 02:31:32 +0400 Subject: [PATCH] restore updstart threshold --- include/rssfuncs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rssfuncs.php b/include/rssfuncs.php index f839c558..a06f9888 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -104,9 +104,9 @@ // Test if feed is currently being updated by another process. if (DB_TYPE == "pgsql") { - $updstart_thresh_qpart = "AND (ttrss_feeds.last_update_started IS NULL OR ttrss_feeds.last_update_started < NOW() - INTERVAL '1 minutes')"; + $updstart_thresh_qpart = "AND (ttrss_feeds.last_update_started IS NULL OR ttrss_feeds.last_update_started < NOW() - INTERVAL '10 minutes')"; } else { - $updstart_thresh_qpart = "AND (ttrss_feeds.last_update_started IS NULL OR ttrss_feeds.last_update_started < DATE_SUB(NOW(), INTERVAL 1 MINUTE))"; + $updstart_thresh_qpart = "AND (ttrss_feeds.last_update_started IS NULL OR ttrss_feeds.last_update_started < DATE_SUB(NOW(), INTERVAL 10 MINUTE))"; } // Test if there is a limit to number of updated feeds -- 2.39.5