Skip to content

Commit 91c6e59

Browse files
committed
update: ECS CPU allocation based on environment
1 parent 708d6cb commit 91c6e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrastructure/src/lib/ecsOptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ENV } from '../env'
22

33
const serverEcsOption: EcsOption = {
44
desiredCount: ENV.isProduction ? 2 : 1,
5-
cpu: 512,
5+
cpu: ENV.isProduction ? 1024 * 0.75 : 512,
66
memory: 1024,
77
maxCapacity: 12,
88
minCapacity: ENV.isProduction ? 2 : 1,

0 commit comments

Comments
 (0)