Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 96ddc5c

Browse files
authored
Set desired number of workers for the enhanced autobuilder to 0 (#1072)
1 parent a1f37c5 commit 96ddc5c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cdk-infra/lib/constructs/worker/worker-construct.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,10 @@ export class WorkerConstruct extends Construct {
102102
}),
103103
});
104104

105-
const env = getEnv();
106-
107105
new FargateService(this, 'fargateService', {
108106
cluster,
109107
taskDefinition,
110-
desiredCount: env === 'prd' ? 10 : 1,
108+
desiredCount: 0,
111109
minHealthyPercent: 100,
112110
maxHealthyPercent: 200,
113111
});

0 commit comments

Comments
 (0)