From 1a20697c4093862c5103c630f9a7a82666b7e6cb Mon Sep 17 00:00:00 2001 From: Lisa Quayle Date: Wed, 28 Jan 2026 15:31:38 +1300 Subject: [PATCH] fix: change CloudFront timeout quota check from error to warning The Service Quotas API may not reflect manually increased quotas, causing an error for users who've increased their quota by contacting AWS Support. --- platform/src/components/aws/ssr-site.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/src/components/aws/ssr-site.ts b/platform/src/components/aws/ssr-site.ts index 38ff20cc89..8666f9f478 100644 --- a/platform/src/components/aws/ssr-site.ts +++ b/platform/src/components/aws/ssr-site.ts @@ -1231,8 +1231,8 @@ async function handler(event) { if (seconds > 60) { getQuota("cloudfront-response-timeout").apply((quota) => { if (seconds > quota) - throw new VisibleError( - `Server timeout for "${name}" is longer than the allowed CloudFront response timeout of ${quota} seconds. You can contact AWS Support to increase the timeout - ${CONSOLE_URL}`, + console.warn( + `Server timeout for "${name}" (${seconds}s) exceeds the CloudFront response timeout quota (${quota}s) reported by the Service Quotas API. If you've increased your quota via AWS Support, this warning can be ignored. Otherwise, contact AWS Support to increase the timeout - ${CONSOLE_URL}`, ); }); }