Commit 0eb1f8cf by naan1993

修改多机环境部署注意事项

parent cd386b77
# 多机环境部署注意事项 # 多机环境部署注意事项
...@@ -20,4 +20,9 @@ spring.redis.host=xxx ...@@ -20,4 +20,9 @@ spring.redis.host=xxx
spring.redis.port=xxx spring.redis.port=xxx
spring.redis.password=xxx spring.redis.password=xxx
``` ```
4.如需配置session失效时间,请在SpringSessionConfig类中修改maxInactiveIntervalInSeconds属性值 4.需要把SpringSessionConfig类中的注释打开
\ No newline at end of file ```
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800)
```
5.如需配置session失效时间,请在SpringSessionConfig类中修改maxInactiveIntervalInSeconds属性值
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment