File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,17 @@ Tested versions are:
3131## Available Options (needs Option B of getting started)
3232
3333| Option | Description | Default Value |
34- | ---------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- | --- | ----------------- |
34+ | ---------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
3535| database | Redis database number to use. Uses DB 0 for production, DB 1 otherwise | ` process.env.VERCEL_ENV === 'production' ? 0 : 1 ` |
36- | keyPrefix | Prefix added to all Redis keys | `process.env.VERCEL_URL | | 'UNDEFINED * URL * '` |
36+ | keyPrefix | Prefix added to all Redis keys | ` process.env.VERCEL_URL \|\ | 'UNDEFINED_URL_' ` |
3737| sharedTagsKey | Key used to store shared tags hash map in Redis | ` '__sharedTags__' ` |
3838| timeoutMs | Timeout in milliseconds for Redis operations | ` 5000 ` |
3939| revalidateTagQuerySize | Number of entries to query in one batch during full sync of shared tags hash map | ` 250 ` |
4040| avgResyncIntervalMs | Average interval in milliseconds between tag map full re-syncs | ` 3600000 ` (1 hour) |
4141| redisGetDeduplication | Enable deduplication of Redis get requests via internal in-memory cache. | ` true ` |
4242| inMemoryCachingTime | Time in milliseconds to cache Redis get results in memory. Set this to 0 to disable in-memory caching completely. | ` 10000 ` |
4343| defaultStaleAge | Default stale age in seconds for cached items | ` 1209600 ` (14 days) |
44- | estimateExpireAge | Function to calculate expire age (redis TTL value) from stale age | Production: ` staleAge * 2 ` <br >Other: ` staleAge * 1.2 ` |
44+ | estimateExpireAge | Function to calculate expire age (redis TTL value) from stale age | Production: ` staleAge * 2 ` <br > Other: ` staleAge * 1.2 ` |
4545
4646## Getting started
4747
You can’t perform that action at this time.
0 commit comments