diff --git a/connectors/src/connectors/notion/temporal/worker.ts b/connectors/src/connectors/notion/temporal/worker.ts index e02b249efcd3..494a8958ca41 100644 --- a/connectors/src/connectors/notion/temporal/worker.ts +++ b/connectors/src/connectors/notion/temporal/worker.ts @@ -18,6 +18,7 @@ export async function runNotionWorker() { reuseV8Context: true, namespace, maxConcurrentActivityTaskExecutions: 8, + maxCachedWorkflows: 200, interceptors: { activityInbound: [ (ctx: Context) => { diff --git a/k8s/configmaps/connectors-worker-specific-configmap.yaml b/k8s/configmaps/connectors-worker-specific-configmap.yaml index cc8c3605cb7f..bfb3d8ca9536 100644 --- a/k8s/configmaps/connectors-worker-specific-configmap.yaml +++ b/k8s/configmaps/connectors-worker-specific-configmap.yaml @@ -5,7 +5,7 @@ metadata: data: DD_ENV: "prod" DD_SERVICE: "connectors-worker" - NODE_OPTIONS: "-r dd-trace/init --max-old-space-size=3276" + NODE_OPTIONS: "-r dd-trace/init --max-old-space-size=3000" DD_LOGS_INJECTION: "true" DD_RUNTIME_METRICS_ENABLED: "true" NODE_ENV: "production"