don't update the database if the feed didn't change

This commit is contained in:
Athou
2013-04-18 13:22:59 +02:00
parent af109ccf5c
commit db8fc29d4f
2 changed files with 9 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ public class FeedRefreshTaskGiver {
public Feed take() {
if (queue.peek() == null) {
List<Feed> feeds = feedDAO
.findNextUpdatable(30 * applicationSettingsService.get()
.findNextUpdatable(50 * applicationSettingsService.get()
.getBackgroundThreads());
for (Feed feed : feeds) {
queue.add(feed);