Skip to content

Commit

Permalink
Merge pull request #283 from takeshinoda/fix-readme-redis-cluster-option
Browse files Browse the repository at this point in the history
Fixed the Redis cluster addresses option name of the README file.
  • Loading branch information
iegomez committed May 25, 2023
2 parents 271bce3 + 1d333a4 commit e80f383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1201,12 +1201,12 @@ Finally, options for Redis are the following:
| auth_opt_redis_password | | N | Redis DB password |
| auth_opt_redis_disable_superuser | true | N | Disable query to check for superuser |
| auth_opt_redis_mode | | N | See `Cluster` section below |
| auth_opt_redis_addresses | | N | See `Cluster` section below |
| auth_opt_redis_cluster_addresses | | N | See `Cluster` section below |


#### Cluster

If you want to use a Redis Cluster as your backend, you need to set `auth_opt_redis_mode` to `cluster` and provide the different addresses as a list of comma separated `host:port` strings with the `auth_opt_redis_addresses` options.
If you want to use a Redis Cluster as your backend, you need to set `auth_opt_redis_mode` to `cluster` and provide the different addresses as a list of comma separated `host:port` strings with the `auth_opt_redis_cluster_addresses` options.
If `auth_opt_redis_mode` is set to another value or not set, Redis defaults to single instance behaviour. If it is correctly set but no addresses are given, the backend will fail to initialize.

#### Password hashing
Expand Down

0 comments on commit e80f383

Please sign in to comment.