🪢 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: increase default throughput on create eval queue (#9108)
Steffen Schmitz664bd3596ee5
diff --git a/worker/src/app.ts b/worker/src/app.tsindex 084cd2ef16..5ce50bccdf 100644--- a/worker/src/app.ts+++ b/worker/src/app.ts@@ -113,9 +113,9 @@ if (env.QUEUE_CONSUMER_CREATE_EVAL_QUEUE_IS_ENABLED === "true") {{concurrency: env.LANGFUSE_EVAL_CREATOR_WORKER_CONCURRENCY,limiter: {- // Process at most `max` jobs per 2 seconds globally+ // Process at most `max` jobs per `duration` milliseconds globallymax: env.LANGFUSE_EVAL_CREATOR_WORKER_CONCURRENCY,- duration: 2_000,+ duration: env.LANGFUSE_EVAL_CREATOR_LIMITER_DURATION,},},);diff --git a/worker/src/env.ts b/worker/src/env.tsindex e089f2e609..874ae5e816 100644--- a/worker/src/env.ts+++ b/worker/src/env.ts@@ -91,6 +91,10 @@ const EnvSchema = z.object({CLICKHOUSE_DB: z.string().default("default"),CLICKHOUSE_PASSWORD: z.string(),CLICKHOUSE_CLUSTER_ENABLED: z.enum(["true", "false"]).default("true"),+ LANGFUSE_EVAL_CREATOR_LIMITER_DURATION: z.coerce+ .number()+ .positive()+ .default(500),LANGFUSE_EVAL_CREATOR_WORKER_CONCURRENCY: z.coerce.number().positive()