refine article filtering to ensure only usable articles are returned

This commit is contained in:
ImBenji 2026-04-18 14:34:22 +01:00
parent bfb52b1fd9
commit 5f2aa7f591

View file

@ -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);
}