File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' rushdb-core ' : patch
3+ ' rushdb-docs ' : patch
4+ ' @rushdb/javascript-sdk ' : patch
5+ ' rushdb-dashboard ' : patch
6+ ' rushdb-website ' : patch
7+ ---
8+
9+ Increased requests limits for Throttler
Original file line number Diff line number Diff line change @@ -437,8 +437,8 @@ The following environment variables can be used to configure your RushDB deploym
437437
438438| Variable | Description | Default | Required |
439439|----------|-------------|---------|----------|
440- | `RATE_LIMITER_REQUESTS_LIMIT` | Max requests within time frame | `10` | No |
441- | `RATE_LIMITER_TTL` | Time frame for rate limiting (ms) | `1000` | No |
440+ | `RATE_LIMITER_REQUESTS_LIMIT` | Max requests within time frame | `100` | No |
441+ | `RATE_LIMITER_TTL` | Time frame for rate limiting (ms) | `1000` | No |
442442
443443# ## OAuth and Authentication
444444
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ You can customize the application by setting environment variables. Below are th
8383 - A find of allowed login usernames. Leave empty to allow all logins.
8484
8585### Rate Limiting
86- - ` RATE_LIMITER_REQUESTS_LIMIT=10 `
86+ - ` RATE_LIMITER_REQUESTS_LIMIT=100 `
8787 - Maximum number of requests allowed within a specific time frame.
8888- ` RATE_LIMITER_TTL=1000 `
8989 - Time-to-live (TTL) for the rate limiter.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export class ThrottleService implements ThrottlerOptionsFactory {
1313 const ttl = this . configService . get ( 'RATE_LIMITER_TTL' ) || 1000
1414 const limit =
1515 toBoolean ( this . configService . get ( 'RUSHDB_SELF_HOSTED' ) ) ? 1000 : (
16- this . configService . get ( 'RATE_LIMITER_REQUESTS_LIMIT' ) || 10
16+ this . configService . get ( 'RATE_LIMITER_REQUESTS_LIMIT' ) || 100
1717 )
1818
1919 return {
You can’t perform that action at this time.
0 commit comments