Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/reference-tables/ea-settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<br> - Value must be above the minimum<br> - 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<br> - Value must be above the minimum<br> - 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<br> - Value must be above the minimum<br> - 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<br> - Value must be above the minimum<br> - 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<br> - Value must be above the minimum<br> - Value must be below the maximum | 10 | 1000 |
| CACHE_PREFIX | string | | Specifies a prefix to use for cache keys | | |
Expand Down
2 changes: 1 addition & 1 deletion src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Loading