Skip to content

Commit

Permalink
Fixed the Redis cluster addresses option name of the README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
takeshinoda committed May 25, 2023
1 parent 271bce3 commit 1d333a4
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 1d333a4

Please sign in to comment.