Skip to content

Commit f5268f6

Browse files
chore: restore provisioned concurrency (beta=2, prod=5)
Follow-up to #661. Now that PostOrder/PostLimitOrder run at 1024 MB (#658), cold starts complete successfully and PC stabilization no longer OOMs. Restoring to pre-incident values: - beta: 0 → 2 - prod: 0 → 5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent cbfe772 commit f5268f6

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

bin/app.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,7 @@ 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.
188-
provisionedConcurrency: 0,
185+
provisionedConcurrency: 2,
189186
internalApiKey: internalApiKey.secretValue.toString(),
190187
stage: STAGE.BETA,
191188
envVars: {
@@ -223,10 +220,7 @@ export class APIPipeline extends Stack {
223220
// Prod us-east-2
224221
const prodUsEast2Stage = new APIStage(this, 'prod-us-east-2', {
225222
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,
223+
provisionedConcurrency: 5,
230224
internalApiKey: internalApiKey.secretValue.toString(),
231225
chatbotSNSArn: 'arn:aws:sns:us-east-2:644039819003:SlackChatbotTopic',
232226
stage: STAGE.PROD,

0 commit comments

Comments
 (0)