Skip to content

Commit 1adfc94

Browse files
chore: scope PC=0 to beta only, leave prod at 5
Only disable provisioned concurrency in beta to unblock the PC deadlock diagnosis. Prod stays at provisionedConcurrency: 5 until beta confirms a clean deploy after the OOM fix lands. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cbfe772 commit 1adfc94

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

bin/app.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,8 @@ export class APIPipeline extends Stack {
182182
// Beta us-east-2
183183
const betaUsEast2Stage = new APIStage(this, 'beta-us-east-2', {
184184
env: { account: '321377678687', region: 'us-east-2' },
185-
// Temporarily set to 0 so the 1024 MB memory fix (PostOrder/PostLimitOrder)
186-
// can land without PC stabilization failing on cold-start OOM.
187-
// Restore to 2 once this deploy succeeds. See #658.
185+
// Temporarily 0 (was 2) to break PC deadlock in beta only.
186+
// Prod left at 5 until beta confirms clean deploy. See #658, #663.
188187
provisionedConcurrency: 0,
189188
internalApiKey: internalApiKey.secretValue.toString(),
190189
stage: STAGE.BETA,
@@ -223,10 +222,7 @@ export class APIPipeline extends Stack {
223222
// Prod us-east-2
224223
const prodUsEast2Stage = new APIStage(this, 'prod-us-east-2', {
225224
env: { account: '316116520258', region: 'us-east-2' },
226-
// Temporarily set to 0 so the 1024 MB memory fix (PostOrder/PostLimitOrder)
227-
// can land without PC stabilization failing on cold-start OOM.
228-
// Restore to 5 once this deploy succeeds. See #658.
229-
provisionedConcurrency: 0,
225+
provisionedConcurrency: 5,
230226
internalApiKey: internalApiKey.secretValue.toString(),
231227
chatbotSNSArn: 'arn:aws:sns:us-east-2:644039819003:SlackChatbotTopic',
232228
stage: STAGE.PROD,

0 commit comments

Comments
 (0)