Skip to content

Commit

Permalink
fix: fix stack overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tchataigner committed Sep 13, 2024
1 parent 8aa716a commit bc94e75
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/compose/docker-compose-proof-servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ services:
command: sh -c "/app/proof_server --mode \"single\" --addr ${PRIMARY_ADDR}:${PRIMARY_PORT}"
environment:
- RUST_LOG=debug
# Prevent stack overflow
- RUST_MIN_STACK=16777216
restart: always
ports:
- "${PRIMARY_PORT}:${PRIMARY_PORT}"
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ spec:
env:
- name: RUST_LOG
value: {{ quote .Values.deployment.proofServer.env.rustLog }}
- name: RUST_MIN_STACK
value: {{ quote .Values.deployment.proofServer.env.rustMinStack }}
- name: CONTAINER_ADDR
valueFrom:
fieldRef:
Expand Down
1 change: 1 addition & 0 deletions docker/proof-server-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ deployment:
env:
containerPort: "8080"
rustLog: debug
rustMinStack: 16777216
image:
repository: ghcr.io/argumentcomputer/ethereum-proof-server
tag: latest
Expand Down

0 comments on commit bc94e75

Please sign in to comment.