From b2a73f4f4123c7baa0963b14487a80849c738d18 Mon Sep 17 00:00:00 2001 From: Mark Rapson Date: Sun, 5 Jul 2026 18:54:31 +0100 Subject: [PATCH] Logging Update --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b577c82..a6afa54 100644 --- a/index.js +++ b/index.js @@ -283,7 +283,7 @@ async function scheduleRuns() { } } - // build a context for fetching titles: prefer API key, then first service account, then single-auth if present + // build a context for fetching titles: prefer API key, then first service account let titleContext = null; if (firstApiKey) { titleContext = {apiKey: firstApiKey}; @@ -325,7 +325,7 @@ async function scheduleRuns() { const totalRateLimit = getTotalRateLimitPerMinute(config); const intervalMs = Math.max(1, Math.ceil(60000 / totalRateLimit)); - console.log(`Configured for ${totalRateLimit} requests per minute across ${tasks.length} tasks (${intervalMs}ms interval)`); + console.log(`Configured for ${totalRateLimit} requests per minute across ${groups.length} documents (${intervalMs}ms interval)`); initializeTaskStatuses(tasks); let currentIndex = 0;