daemon: schedule never updated feeds for update

This commit is contained in:
Andrew Dolgov 2008-02-07 04:29:09 +01:00
parent 7a22dc2ad5
commit da4caf5d86

View file

@ -5244,7 +5244,7 @@
) OR (
ttrss_feeds.update_interval > 0
AND ttrss_feeds.last_updated < NOW() - CAST((ttrss_feeds.update_interval || ' minutes') AS INTERVAL)
))";
) OR ttrss_feeds.last_updated IS NULL)";
} else {
$update_limit_qpart = "AND ((
ttrss_feeds.update_interval = 0
@ -5252,7 +5252,7 @@
) OR (
ttrss_feeds.update_interval > 0
AND ttrss_feeds.last_updated < DATE_SUB(NOW(), INTERVAL ttrss_feeds.update_interval MINUTE)
))";
) OR ttrss_feeds.last_updated IS NULL)";
}
// Test if feed is currently being updated by another process.