Skip to content

Commit

Permalink
feat: set ecs minHealthyPercent to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
dangreaves committed May 21, 2024
1 parent 5f52504 commit 7213878
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cdk/GatsbySite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ export class GatsbySite extends Construct {
`Service-${fn.functionId}`,
{
cluster,
minHealthyPercent: 100, // Always keep desired task count.
cpu: options.cpu ?? 1024,
desiredCount: options.desiredCount ?? 1,
memoryLimitMiB: options.memoryLimitMiB ?? 2048,
Expand Down

0 comments on commit 7213878

Please sign in to comment.