-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daniel González Lopes <[email protected]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
title: Redis | ||
--- | ||
|
||
# Redis Configuration | ||
Redis caching is configured in the storage block. | ||
|
||
``` | ||
storage: | ||
trace: | ||
redis: | ||
endpoint: redis # redis endpoint to use when caching. | ||
timeout: 500ms # optional. maximum time to wait before giving up on redis requests. (default 100ms) | ||
master-name: redis-master # optional. redis Sentinel master name. (default "") | ||
db: 0 # optional. database index. (default 0) | ||
expiration: 0s # optional. how long keys stay in the redis. (default 0) | ||
tls-enabled: false # optional. enable connecting to redis with TLS. (default false) | ||
tls-insecure-skip-verify: false # optional. skip validating server certificate. (default false) | ||
pool-size: 0 # optional. maximum number of connections in the pool. (default 0) | ||
password: ... # optional. password to use when connecting to redis. (default "") | ||
idle-timeout: 0s # optional. close connections after remaining idle for this duration. (default 0s) | ||
max-connection-age: 0s # optional. close connections older than this duration. (default 0s) | ||
``` |