You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| killContainerOnErrorThreshold | Number of consecutive errors before the container is killed. Set to 0 to disable. |`Number.parseInt(process.env.KILL_CONTAINER_ON_ERROR_THRESHOLD) ?? 0 : 0`|
| database | Redis database number to use. Uses DB 0 for production, DB 1 otherwise |`process.env.VERCEL_ENV === 'production' ? 0 : 1`|
130
+
| keyPrefix | Prefix added to all Redis keys |`process.env.VERCEL_URL \|\| 'UNDEFINED_URL_'`|
131
+
| sharedTagsKey | Key used to store shared tags hash map in Redis |`'__sharedTags__'`|
132
+
|getTimeoutMs| Timeout in milliseconds for time critical Redis operations. If Redis get is not fulfilled within this time, returns null to avoid blocking site rendering. |`process.env.REDIS_COMMAND_TIMEOUT_MS ? (Number.parseInt(process.env.REDIS_COMMAND_TIMEOUT_MS) ?? 500) : 500`|
133
+
| revalidateTagQuerySize | Number of entries to query in one batch during full sync of shared tags hash map |`250`|
134
+
| avgResyncIntervalMs | Average interval in milliseconds between tag map full re-syncs |`3600000` (1 hour) |
135
+
| redisGetDeduplication | Enable deduplication of Redis get requests via internal in-memory cache. |`true`|
136
+
| inMemoryCachingTime | Time in milliseconds to cache Redis get results in memory. Set this to 0 to disable in-memory caching completely. |`10000`|
137
+
| defaultStaleAge | Default stale age in seconds for cached items |`1209600` (14 days) |
138
+
| estimateExpireAge | Function to calculate expire age (redis TTL value) from stale age | Production: `staleAge * 2`<br> Other: `staleAge * 1.2`|
| killContainerOnErrorThreshold | Number of consecutive errors before the container is killed. Set to 0 to disable. |`Number.parseInt(process.env.KILL_CONTAINER_ON_ERROR_THRESHOLD) ?? 0 : 0`|
0 commit comments