Skip to content

Commit

Permalink
chore: reduce worker count and disable live checks for the datatracke…
Browse files Browse the repository at this point in the history
…r pod (#7240)
  • Loading branch information
rjsparks authored and NGPixel committed May 14, 2024
1 parent ad34104 commit 1c90789
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion dev/build/datatracker-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "Running collectstatic..."
echo "Starting Datatracker..."

gunicorn \
--workers 53 \
--workers 9 \
--max-requests 32768 \
--timeout 180 \
--bind :8000 \
Expand Down
30 changes: 15 additions & 15 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ datatracker:
# hosts:
# - chart-example.local

livenessProbe:
httpGet:
# /submit/tool-instructions/ just happens to be cheap until we get a real health endpoint
path: /submit/tool-instructions/
port: http
# livenessProbe:
# httpGet:
# # /submit/tool-instructions/ just happens to be cheap until we get a real health endpoint
# path: /submit/tool-instructions/
# port: http

podAnnotations: {}
podLabels: {}
Expand Down Expand Up @@ -113,16 +113,16 @@ datatracker:
# If not set and create is true, a name is generated using the fullname template
name: ""

startupProbe:
initialDelaySeconds: 15
periodSeconds: 5
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 60
httpGet:
# /submit/tool-instructions/ just happens to be cheap until we get a real health endpoint
path: /submit/tool-instructions/
port: http
# startupProbe:
# initialDelaySeconds: 15
# periodSeconds: 5
# timeoutSeconds: 5
# successThreshold: 1
# failureThreshold: 60
# httpGet:
# # /submit/tool-instructions/ just happens to be cheap until we get a real health endpoint
# path: /submit/tool-instructions/
# port: http

# Additional volumes on the output Deployment definition.
volumes:
Expand Down

0 comments on commit 1c90789

Please sign in to comment.