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