🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore: adjust stalled settings for eval execution queue (#8343)
Steffen Schmitz2f50b38a680b
diff --git a/worker/src/app.ts b/worker/src/app.tsindex 096e8f6d3a..6d1b1a6bbf 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -195,6 +195,13 @@ if (env.QUEUE_CONSUMER_EVAL_EXECUTION_QUEUE_IS_ENABLED === "true") {evalJobExecutorQueueProcessor,{concurrency: env.LANGFUSE_EVAL_EXECUTION_WORKER_CONCURRENCY,+ // The default lockDuration is 30s and the lockRenewTime 1/2 of that.+ // We set it to 60s to reduce the number of lock renewals and also be less sensitive to high CPU wait times.+ // We also update the stalledInterval check to 120s from 30s default to perform the check less frequently.+ // Finally, we set the maxStalledCount to 3 (default 1) to perform repeated attempts on stalled jobs.+ lockDuration: 60000, // 60 seconds+ stalledInterval: 120000, // 120 seconds+ maxStalledCount: 3,},);}