Skip to content

Commit 1aa3809

Browse files
committed
Bump env var limit
1 parent e33af1a commit 1aa3809

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/reference-tables/ea-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
| BACKGROUND_EXECUTE_MS_HTTP | number | 1000 | Time in milliseconds to sleep between HTTP transports' background execute calls, when there are no requests to send | - Value must be an integer<br> - Value must be above the minimum<br> - Value must be below the maximum | 1 | 10000 |
88
| BACKGROUND_EXECUTE_MS_SSE | number | 1000 | Time in milliseconds to sleep between SSE transports' background execute calls | - Value must be an integer<br> - Value must be above the minimum<br> - Value must be below the maximum | 1 | 10000 |
99
| BACKGROUND_EXECUTE_MS_WS | number | 1000 | Time in milliseconds to sleep between WS transports' background execute calls | - Value must be an integer<br> - Value must be above the minimum<br> - Value must be below the maximum | 1 | 10000 |
10-
| BACKGROUND_EXECUTE_TIMEOUT | number | 90000 | The maximum amount of time in milliseconds to wait for a background execute to finish | - Value must be an integer<br> - Value must be above the minimum<br> - Value must be below the maximum | 1000 | 180000 |
10+
| BACKGROUND_EXECUTE_TIMEOUT | number | 90000 | The maximum amount of time in milliseconds to wait for a background execute to finish | - Value must be an integer<br> - Value must be above the minimum<br> - Value must be below the maximum | 1000 | 600000 |
1111
| BASE_URL | string | / | Starting path for the EA handler endpoint | | |
1212
| CACHE_LOCK_DEFERRAL_MS | number | 60000 | The amount of time (in ms) to wait before attempting to lock the cache | | |
1313
| CACHE_LOCK_DURATION | number | 10000 | Time (in ms) used as a baseline for the acquisition and extension of cache locks | | |
1414
| CACHE_LOCK_RETRIES | number | 10 | Number of retries to acquire a cache lock | | |
15-
| 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 |
15+
| 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 | 3600000 |
1616
| 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 |
1717
| 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 |
1818
| 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 |

src/config/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const BaseSettingsDefinition = {
3939
description: 'Maximum amount of time (in ms) that a response will stay cached',
4040
type: 'number',
4141
default: 90000,
42-
validate: validator.integer({ min: 1000, max: 20 * 60 * 1000 }), // Max 20 minutes
42+
validate: validator.integer({ min: 1000, max: 60 * 60 * 1000 }), // Max 1 hour
4343
},
4444
CACHE_MAX_ITEMS: {
4545
type: 'number',
@@ -359,7 +359,7 @@ export const BaseSettingsDefinition = {
359359
'The maximum amount of time in milliseconds to wait for a background execute to finish',
360360
type: 'number',
361361
default: 90_000,
362-
validate: validator.integer({ min: 1000, max: 180_000 }),
362+
validate: validator.integer({ min: 1000, max: 10 * 60 * 1000 }), // Max 10 minutes
363363
},
364364
RATE_LIMITING_STRATEGY: {
365365
description: 'The rate limiting strategy to use for outbound requests',

0 commit comments

Comments
 (0)