Skip to content

Commit a93c473

Browse files
committed
README.md 中 redis-manager 写成 redis-anager
1 parent fe2c9e0 commit a93c473

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -409,15 +409,15 @@ For full example, see [shiro-redis-spring-boot-tutorial](https://github.com/alex
409409
| Title | Default | Description |
410410
| :--------------------------------------------------| :------------------- | :---------------------------|
411411
| shiro-redis.enabled | `true` | Enables shiro-redis’s Spring module |
412-
| shiro-redis.redis-anager.deploy-mode | `standalone` | Redis deploy mode. Options: `standalone`, `sentinel`, 'cluster' |
413-
| shiro-redis.redis-anager.host | `127.0.0.1:6379` | Redis host. If you don't specify host the default value is `127.0.0.1:6379`. If you run redis in sentinel mode or cluster mode, separate host names with comma, like `127.0.0.1:26379,127.0.0.1:26380,127.0.0.1:26381` |
414-
| shiro-redis.redis-anager.master-name | `mymaster` | **Only used for sentinel mode**<br>The master node of Redis sentinel mode |
415-
| shiro-redis.redis-anager.timeout | `2000` | Redis connect timeout. Timeout for jedis try to connect to redis server(In milliseconds) |
416-
| shiro-redis.redis-anager.so-timeout | `2000` | **Only used for sentinel mode or cluster mode**<br>The timeout for jedis try to read data from redis server |
417-
| shiro-redis.redis-anager.max-attempts | `3` | **Only used for cluster mode**<br>Max attempts to connect to server |
418-
| shiro-redis.redis-anager.password | | Redis password |
419-
| shiro-redis.redis-anager.database | `0` | Redis database. Default value is 0 |
420-
| shiro-redis.redis-anager.count | `100` | Scan count. Shiro-redis use Scan to get keys, so you can define the number of elements returned at every iteration. |
412+
| shiro-redis.redis-manager.deploy-mode | `standalone` | Redis deploy mode. Options: `standalone`, `sentinel`, 'cluster' |
413+
| shiro-redis.redis-manager.host | `127.0.0.1:6379` | Redis host. If you don't specify host the default value is `127.0.0.1:6379`. If you run redis in sentinel mode or cluster mode, separate host names with comma, like `127.0.0.1:26379,127.0.0.1:26380,127.0.0.1:26381` |
414+
| shiro-redis.redis-manager.master-name | `mymaster` | **Only used for sentinel mode**<br>The master node of Redis sentinel mode |
415+
| shiro-redis.redis-manager.timeout | `2000` | Redis connect timeout. Timeout for jedis try to connect to redis server(In milliseconds) |
416+
| shiro-redis.redis-manager.so-timeout | `2000` | **Only used for sentinel mode or cluster mode**<br>The timeout for jedis try to read data from redis server |
417+
| shiro-redis.redis-manager.max-attempts | `3` | **Only used for cluster mode**<br>Max attempts to connect to server |
418+
| shiro-redis.redis-manager.password | | Redis password |
419+
| shiro-redis.redis-manager.database | `0` | Redis database. Default value is 0 |
420+
| shiro-redis.redis-manager.count | `100` | Scan count. Shiro-redis use Scan to get keys, so you can define the number of elements returned at every iteration. |
421421
| shiro-redis.session-dao.expire | `-2` | Redis cache key/value expire time. The expire time is in second.<br>Special values:<br>`-1`: no expire<br>`-2`: the same timeout with session<br>Default value: `-2`<br>**Note**: Make sure expire time is longer than session timeout. |
422422
| shiro-redis.session-dao.key-prefix | `shiro:session:` | Custom your redis key prefix for session management<br>**Note**: Remember to add colon at the end of prefix. |
423423
| shiro-redis.session-dao.session-in-memory-timeout | `1000` | When we do signin, `doReadSession(sessionId)` will be called by shiro about 10 times. So shiro-redis save Session in ThreadLocal to remit this problem. sessionInMemoryTimeout is expiration of Session in ThreadLocal. <br>Most of time, you don't need to change it. |

0 commit comments

Comments
 (0)