don't cap feed count buffer

This commit is contained in:
Athou
2013-05-22 15:55:28 +02:00
parent 63b20922cd
commit 97c2c12fe2

View File

@@ -56,7 +56,7 @@ public class FeedRefreshTaskGiver {
public synchronized Feed take() {
Feed feed = takeQueue.poll();
if (feed == null) {
int count = Math.min(100, 5 * backgroundThreads);
int count = 5 * backgroundThreads;
List<Feed> feeds = feedDAO.findNextUpdatable(count);
int size = addQueue.size();