Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions platform/src/components/aws/ssr-site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`,
);
});
}
Expand Down