From be57c9411c3af43cfce0fc2ba4859a1581413cdf Mon Sep 17 00:00:00 2001 From: david-rocca <davidtrocca@gmail.com> Date: Thu, 26 Dec 2024 09:40:35 -0500 Subject: [PATCH] added documentation for the rate limiting vars in the .env --- .env | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.env b/.env index d53ac3ea7..fec7bf5f6 100644 --- a/.env +++ b/.env @@ -1,4 +1,8 @@ PORT = 3000 LOCAL_KEY=TCF25YM-39C4H6D-KA32EGF-V5XSHN3 +# The duration of the rate limiting window in seconds. +# This defines the time frame for which the rate limit is applied. RATE_LIMIT_WINDOW_SECONDS=60 +# The maximum number of connections allowed within the rate limiting window. +# This sets the threshold for how many requests can be made in the specified time frame. RATE_LIMIT_MAX_CONNECTIONS=1000