From: Andrew Dolgov Date: Wed, 1 May 2013 22:31:32 +0000 (+0400) Subject: restore updstart threshold X-Git-Tag: 1.7.9~25^2~23 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=566417c4e73dbbd872b01ebdbc83abf2063dbcaf;p=tt-rss.git restore updstart threshold --- 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