Skip to content

Commit 45995b0

Browse files
authored
Update README.md
1 parent aeb6faa commit 45995b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)