From 5f2aa7f591beb3f08801aca5da007f2dbd5cbd63 Mon Sep 17 00:00:00 2001 From: ImBenji Date: Sat, 18 Apr 2026 14:34:22 +0100 Subject: [PATCH] refine article filtering to ensure only usable articles are returned --- src/scheduler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scheduler.js b/src/scheduler.js index 8ad2eba..10f49b9 100644 --- a/src/scheduler.js +++ b/src/scheduler.js @@ -98,7 +98,8 @@ function startScheduler() { try { const concurrency = Number(config.contentBackfill?.concurrency) || 5; - await backfillMissingContent(-1, concurrency); + const perSource = Number(config.contentBackfill?.perSource) || 50; + await backfillMissingContent(perSource, concurrency); } catch (error) { console.error('content backfill failed:', error); }