🪢 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
fix: increase legacy job cleanup limits for integration queues (#12004)
Valery Meleshkin59320c61687d
diff --git a/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts b/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.tsindex 11a3dae850..162d10678f 100644--- a/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts+++ b/worker/src/features/mixpanel/handleMixpanelIntegrationSchedule.ts@@ -52,7 +52,7 @@ export const handleMixpanelIntegrationSchedule = async () => {if (hasLegacyJobs) {logger.info("[MIXPANEL] Cleaning up legacy hourly-key jobs");await mixpanelIntegrationProcessingQueue.drain();- await mixpanelIntegrationProcessingQueue.clean(0, 0, "failed");+ await mixpanelIntegrationProcessingQueue.clean(0, 1000, "failed");}await mixpanelIntegrationProcessingQueue.addBulk(diff --git a/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts b/worker/src/features/posthog/handlePostHogIntegrationSchedule.tsindex 427486d45b..7a1ce4bf74 100644--- a/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts+++ b/worker/src/features/posthog/handlePostHogIntegrationSchedule.ts@@ -47,7 +47,7 @@ export const handlePostHogIntegrationSchedule = async () => {if (hasLegacyJobs) {logger.info("[POSTHOG] Cleaning up legacy hourly-key jobs");await postHogIntegrationProcessingQueue.drain();- await postHogIntegrationProcessingQueue.clean(0, 0, "failed");+ await postHogIntegrationProcessingQueue.clean(0, 1000, "failed");}await postHogIntegrationProcessingQueue.addBulk(