Skip to content

Commit 892b335

Browse files
committed
feat: add rate limiting settings to .env.example for authentication protection
Signed-off-by: Grant Ramsay <[email protected]>
1 parent ec3b6c7 commit 892b335

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,11 @@ REDIS_DB=0
150150
# How long cached responses are stored before expiring
151151
# Individual endpoints may override this value
152152
CACHE_DEFAULT_TTL=300
153+
154+
# Rate Limiting Settings (opt-in, disabled by default)
155+
# When enabled, uses Redis if available, otherwise in-memory storage
156+
# Protects authentication endpoints from brute force and abuse
157+
# Note: Rate limiting automatically uses Redis when both
158+
# RATE_LIMIT_ENABLED=true and REDIS_ENABLED=true
159+
# No additional Redis configuration needed
160+
RATE_LIMIT_ENABLED=false

0 commit comments

Comments
 (0)