Logging Update
This commit is contained in:
@@ -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;
|
let titleContext = null;
|
||||||
if (firstApiKey) {
|
if (firstApiKey) {
|
||||||
titleContext = {apiKey: firstApiKey};
|
titleContext = {apiKey: firstApiKey};
|
||||||
@@ -325,7 +325,7 @@ async function scheduleRuns() {
|
|||||||
|
|
||||||
const totalRateLimit = getTotalRateLimitPerMinute(config);
|
const totalRateLimit = getTotalRateLimitPerMinute(config);
|
||||||
const intervalMs = Math.max(1, Math.ceil(60000 / totalRateLimit));
|
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);
|
initializeTaskStatuses(tasks);
|
||||||
|
|
||||||
let currentIndex = 0;
|
let currentIndex = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user