🪢 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
perf: data retention concurrency (#7065)
Max Deichmannce6249b2666b
diff --git a/worker/src/app.ts b/worker/src/app.tsindex 392e2d5abb..6eaa2532c7 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -310,6 +310,12 @@ if (env.QUEUE_CONSUMER_DATA_RETENTION_QUEUE_IS_ENABLED === "true") {dataRetentionProcessingProcessor,{concurrency: 1,+ limiter: {+ // Process at most `max` delete jobs per LANGFUSE_CLICKHOUSE_PROJECT_DELETION_CONCURRENCY_DURATION_MS (default 10 min)+ max: env.LANGFUSE_PROJECT_DELETE_CONCURRENCY,+ duration:+ env.LANGFUSE_CLICKHOUSE_PROJECT_DELETION_CONCURRENCY_DURATION_MS,+ },},);}