mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
limit batch size
This commit is contained in:
@@ -134,7 +134,7 @@ public class FeedRefreshTaskGiver {
|
||||
private void refill() {
|
||||
Date now = new Date();
|
||||
|
||||
int count = 3 * backgroundThreads;
|
||||
int count = Math.min(100, 3 * backgroundThreads);
|
||||
List<Feed> feeds = null;
|
||||
if (applicationSettingsService.get().isCrawlingPaused()) {
|
||||
feeds = Lists.newArrayList();
|
||||
|
||||
Reference in New Issue
Block a user