Skip to content

Commit

Permalink
feat(k8s.construct.api): update default asgi workers to 2
Browse files Browse the repository at this point in the history
Signed-off-by: Braden Mars <[email protected]>
  • Loading branch information
BradenM committed Jan 8, 2024
1 parent b6a8f65 commit ed81522
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -296,7 +296,7 @@ export class ApiASGI
super(scope, id, props)
this.addContainer({
name: 'hypercorn',
command: ['/serve.sh', 'asgi', `--workers=${props.workers ?? 1}`],
command: ['/serve.sh', 'asgi', `--workers=${props.workers ?? 2}`],
portNumber: 5000,
envFrom: this.config.env.sources,
envVariables: this.config.env.variables,
Expand Down

0 comments on commit ed81522

Please sign in to comment.