Skip to content

Commit 1ed0001

Browse files
haargranguard
authored andcommitted
less workers for api v0 shim
The v0 API shim has very low traffic. Use less workers to reduce its memory usage.
1 parent 3dc3e58 commit 1ed0001

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/api-v0-shim/base/deployment.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,7 @@ spec:
1919
- name: api-v0-shim
2020
image: metacpan/metacpan-api-v0-shim:latest
2121
imagePullPolicy: Always
22+
command: [ "/uwsgi.sh" ]
23+
args: [ "--http-socket", ":5001", "--workers", "5" ]
2224
ports:
2325
- containerPort: 5001

0 commit comments

Comments
 (0)