diff options
| author | Amir Zarrinkafsh <nightah@me.com> | 2024-11-02 07:40:40 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 20:40:40 +0000 |
| commit | 7584aaccb9c4a88e352bbcdf77e79a1d27a57a70 (patch) | |
| tree | d602fecfba535e756fa11cc364489f7bcf992452 /docs/content/configuration/session/redis.md | |
| parent | ac5cf4345e3ccf88c5862199131a7a6bd0f193f4 (diff) | |
fix(session): add connection timeout and retry options to redis (#8146)
* fix(session): add connection timeout and retry options to redis
* docs: add new redis options to docs
Signed-off-by: Amir Zarrinkafsh <nightah@me.com>
Diffstat (limited to 'docs/content/configuration/session/redis.md')
| -rw-r--r-- | docs/content/configuration/session/redis.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/content/configuration/session/redis.md b/docs/content/configuration/session/redis.md index a585d488f..b5dec107d 100644 --- a/docs/content/configuration/session/redis.md +++ b/docs/content/configuration/session/redis.md @@ -29,6 +29,8 @@ session: redis: host: '127.0.0.1' port: 6379 + timeout: '5s' + max_retries: 0 username: 'authelia' password: 'authelia' database_index: 0 @@ -80,6 +82,18 @@ quoted: host: '[fd00:1111:2222:3333::1]' ``` +### timeout + +{{< confkey type="string,integer" syntax="duration" default="5 seconds" required="no" >}} + +The Redis connection timeout. + +### max_retries + +{{< confkey type="integer" default="0" required="no" >}} + +The maximum number of retries on a failed command. Setting this option to 0 disables retries entirely. + ### port {{< confkey type="integer" default="6379" required="no" >}} |
