Skip to content

Commit

Permalink
Set desired number of workers for the enhanced autobuilder to 0 (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry authored Sep 20, 2024
1 parent a1f37c5 commit 96ddc5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cdk-infra/lib/constructs/worker/worker-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ export class WorkerConstruct extends Construct {
}),
});

const env = getEnv();

new FargateService(this, 'fargateService', {
cluster,
taskDefinition,
desiredCount: env === 'prd' ? 10 : 1,
desiredCount: 0,
minHealthyPercent: 100,
maxHealthyPercent: 200,
});
Expand Down

0 comments on commit 96ddc5c

Please sign in to comment.