Skip to content

Commit

Permalink
feat(k8s.construct.api): set default gunicorn worker count to 2
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
  • Loading branch information
BradenM committed Oct 3, 2024
1 parent f275a59 commit 37d624a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/k8s/construct/api/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export class ApiWSGI
command: [
'/serve.sh',
'wsgi',
`--workers=${props.workers ?? 5}`,
`--workers=${props.workers ?? 2}`,
`--threads=${props.threads ?? 4}`,
'--worker-class=gthread',
'--worker-tmp-dir=/worker-tmp',
Expand Down

0 comments on commit 37d624a

Please sign in to comment.