You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 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 |
| 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. |
| 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 |
| 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. |
421
421
| 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. |
422
422
| 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. |
423
423
| 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