fix(blog): 3s delay between queued LLM pipelines to prevent nginx 429 bursts
This commit is contained in:
parent
45abd15fe4
commit
58a26116b1
@ -912,8 +912,8 @@ async function processLlmQueue(): Promise<void> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
llmRunning = false;
|
llmRunning = false;
|
||||||
// Process next item
|
// Process next item — small delay between pipelines to avoid nginx rate-limit bursts
|
||||||
if (llmQueue.length > 0) processLlmQueue();
|
if (llmQueue.length > 0) setTimeout(() => processLlmQueue(), 3000);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Run 10-Step Flexoptix Style LLM Pipeline and update draft in-place */
|
/** Run 10-Step Flexoptix Style LLM Pipeline and update draft in-place */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user