Skip to content

Commit

Permalink
enh: attempr to recuce notion worker memory usage (#7305)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <henry@dust.tt>
  • Loading branch information
fontanierh and Henry Fontanier authored Sep 11, 2024
1 parent 000aa52 commit dc76e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions connectors/src/connectors/notion/temporal/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export async function runNotionWorker() {
reuseV8Context: true,
namespace,
maxConcurrentActivityTaskExecutions: 8,
maxCachedWorkflows: 200,
interceptors: {
activityInbound: [
(ctx: Context) => {
Expand Down
2 changes: 1 addition & 1 deletion k8s/configmaps/connectors-worker-specific-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit dc76e0b

Please sign in to comment.