Skip to content

Commit

Permalink
added rate limit defaults to sample env
Browse files Browse the repository at this point in the history
  • Loading branch information
jeppekroghitk committed May 28, 2024
1 parent b8252d3 commit 0f74da5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/sample.env
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,8 @@ LEAN_OIDC_DEFAULT_ROLE = 20
## Redis (for session storage and cache)
LEAN_USE_REDIS = false # Set to true to use redis as session cache
LEAN_REDIS_URL = '' # Add URL path such as tcp://1.2.3.4:6379. If you are using a password, add ?auth=yourverycomplexpasswordhere to your URL

## Rate limiting
LEAN_RATELIMIT_GENERAL = 1000
LEAN_RATELIMIT_API = 10
LEAN_RATELIMIT_AUTH = 20

0 comments on commit 0f74da5

Please sign in to comment.