diff --git a/docs/reference-tables/ea-settings.md b/docs/reference-tables/ea-settings.md index 2fd86a99..16034ee2 100644 --- a/docs/reference-tables/ea-settings.md +++ b/docs/reference-tables/ea-settings.md @@ -13,7 +13,7 @@ | CACHE_LOCK_DURATION | number | 10000 | Time (in ms) used as a baseline for the acquisition and extension of cache locks | | | | CACHE_LOCK_RETRIES | number | 10 | Number of retries to acquire a cache lock | | | | CACHE_MAX_AGE | number | 90000 | Maximum amount of time (in ms) that a response will stay cached | - Value must be an integer
- Value must be above the minimum
- Value must be below the maximum | 1000 | 1200000 | -| CACHE_MAX_ITEMS | number | 10000 | The maximum number of items that remain in the cache | - Value must be an integer
- Value must be above the minimum
- Value must be below the maximum | 1000 | 10000 | +| CACHE_MAX_ITEMS | number | 10000 | The maximum number of items that remain in the cache | - Value must be an integer
- Value must be above the minimum
- Value must be below the maximum | 1000 | 50000 | | CACHE_POLLING_MAX_RETRIES | number | 10 | Max amount of times to attempt to find EA response in the cache after the Transport has been set up | - Value must be an integer
- Value must be above the minimum
- Value must be below the maximum | 0 | 20 | | CACHE_POLLING_SLEEP_MS | number | 200 | The number of ms to sleep between each retry to fetch the EA response in the cache | - Value must be an integer
- Value must be above the minimum
- Value must be below the maximum | 10 | 1000 | | CACHE_PREFIX | string | | Specifies a prefix to use for cache keys | | | diff --git a/src/config/index.ts b/src/config/index.ts index 98c39dce..0c62b9bb 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -45,7 +45,7 @@ export const BaseSettingsDefinition = { type: 'number', description: 'The maximum number of items that remain in the cache', default: 10000, - validate: validator.integer({ min: 1000, max: 10000 }), + validate: validator.integer({ min: 1000, max: 50000 }), }, CACHE_REDIS_CONNECTION_TIMEOUT: { description: 'Connection timeout for redis client',