🪢 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: make trace-delete queue configuration more lax to allow for longer waitig times (#10852)
Valery Meleshkin8c6466b864d7
diff --git a/worker/src/app.ts b/worker/src/app.tsindex a280e26b1d..15baffd0ae 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -161,6 +161,11 @@ if (env.LANGFUSE_POSTGRES_METERING_DATA_EXPORT_IS_ENABLED === "true") {if (env.QUEUE_CONSUMER_TRACE_DELETE_QUEUE_IS_ENABLED === "true") {WorkerManager.register(QueueName.TraceDelete, traceDeleteProcessor, {concurrency: env.LANGFUSE_TRACE_DELETE_CONCURRENCY,+ // Same configuration as EvaluationExecution or+ // BlobStorageIntegrationProcessingQueue queue, see detailed comment there+ maxStalledCount: 3,+ lockDuration: 60000, // 60 seconds+ stalledInterval: 120000, // 120 secondslimiter: {// Process at most `max` delete jobs per 2 minmax: env.LANGFUSE_TRACE_DELETE_CONCURRENCY,