Skip to content

Commit 5737a45

Browse files
authored
Merge pull request #1312 from CVEProject/dr-1121
Resolves #1121 - Rate limiting return codes
2 parents 52e37ec + 6861251 commit 5737a45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
PORT = 3000
22
LOCAL_KEY=TCF25YM-39C4H6D-KA32EGF-V5XSHN3
3+
# The duration of the rate limiting window in seconds.
4+
# This defines the time frame for which the rate limit is applied.
35
RATE_LIMIT_WINDOW_SECONDS=60
6+
# The maximum number of connections allowed within the rate limiting window.
7+
# This sets the threshold for how many requests can be made in the specified time frame.
48
RATE_LIMIT_MAX_CONNECTIONS=1000

0 commit comments

Comments
 (0)