Skip to content

Commit 3c380dd

Browse files
authored
fix(static-website): fix issue with throttling errors during creation… (#726)
* fix(static-website): fix issue with throttling errors during creation of WebACL resource * chore: update snapshot
1 parent b2e303f commit 3c380dd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages/static-website/src/webacl_event_handler/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const client = new WAFV2({
1010
});
1111

1212
const MAX_CREATE_RETRY = 10;
13-
const RETRY_INTERVAL = 200;
13+
const RETRY_INTERVAL = 2000;
1414

1515
/**
1616
* Handler for creating a WAF V2 ACL in US-EAST-1.

packages/static-website/test/__snapshots__/static-website.test.ts.snap

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)