Skip to content

Commit c84ce06

Browse files
author
Miriad
committed
fix: reduce INFOGRAPHIC_BATCH_SIZE to 4 (8 Imagen calls, ~46s vs 60s limit)
1 parent cf4656d commit c84ce06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/api/cron/check-research/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async function buildStuckThresholds(): Promise<Record<string, number>> {
118118
const MAX_DOCS_PER_STATUS = 2;
119119

120120
/** Max prompts to process per cron cycle (each prompt = 2 Imagen calls) */
121-
const INFOGRAPHIC_BATCH_SIZE = 5;
121+
const INFOGRAPHIC_BATCH_SIZE = 4;
122122

123123
// ---------------------------------------------------------------------------
124124
// Sanity Write Client

0 commit comments

Comments
 (0)