aboutsummaryrefslogtreecommitdiff
path: root/p/scripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'p/scripts/main.js')
-rw-r--r--p/scripts/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/scripts/main.js b/p/scripts/main.js
index d07568617..2d4809293 100644
--- a/p/scripts/main.js
+++ b/p/scripts/main.js
@@ -1448,7 +1448,7 @@ function refreshFeeds(json) {
}));
} else {
const feeds_count = json.feeds.length;
- for (let i = 10; i > 0; i--) {
+ for (let i = context.nb_parallel_refresh; i > 0; i--) {
refreshFeed(json.feeds, feeds_count);
}
}
@@ -1487,7 +1487,7 @@ function refreshDynamicOpmls(json, next) {
categories_processed = 0;
if (json.categories && json.categories.length > 0) {
const categories_count = json.categories.length;
- for (let i = 10; i > 0; i--) {
+ for (let i = context.nb_parallel_refresh; i > 0; i--) {
refreshDynamicOpml(json.categories, categories_count, next);
}
} else {