Skip to content

Commit

Permalink
enh(infra): don't set max-old-space-size on front(-edge) (#4861)
Browse files Browse the repository at this point in the history
Co-authored-by: Henry Fontanier <[email protected]>
  • Loading branch information
fontanierh and Henry Fontanier authored Apr 25, 2024
1 parent e6e3ec1 commit fe013b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion k8s/configmaps/front-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: "front"
NODE_OPTIONS: "-r dd-trace/init --max-old-space-size=6000"
NODE_OPTIONS: "-r dd-trace/init"
DD_LOGS_INJECTION: "true"
DD_RUNTIME_METRICS_ENABLED: "true"
NODE_ENV: "production"
2 changes: 1 addition & 1 deletion k8s/deployments/front-edge-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
# we override --max-old-space-size for edge as pods
# don't have the same memory limits as the regular front pods
- name: NODE_OPTIONS
value: "-r dd-trace/init --max-old-space-size=400"
value: "-r dd-trace/init"
- name: NEXTAUTH_URL
value: https://front-edge.dust.tt
- name: AUTH0_BASE_URL
Expand Down

0 comments on commit fe013b2

Please sign in to comment.