ddd
parent
2299151b63
commit
5e56aae483
18
README.md
18
README.md
|
@ -31,15 +31,15 @@
|
||||||
|
|
||||||
2. 修改 TOMCAT_BASE/conf 目录下的 context.xml 文件
|
2. 修改 TOMCAT_BASE/conf 目录下的 context.xml 文件
|
||||||
|
|
||||||
<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
|
<Valve className="com.orangefunction.tomcat.redissessions.RedisSessionHandlerValve" />
|
||||||
<Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
|
<Manager className="com.orangefunction.tomcat.redissessions.RedisSessionManager"
|
||||||
host="localhost"
|
host="localhost"
|
||||||
port="6379"
|
port="6379"
|
||||||
database="0"
|
database="0"
|
||||||
maxInactiveInterval="60"
|
maxInactiveInterval="60"
|
||||||
sessionPersistPolicies="PERSIST_POLICY_1,PERSIST_POLICY_2,.."
|
sessionPersistPolicies="PERSIST_POLICY_1,PERSIST_POLICY_2,.."
|
||||||
sentinelMaster="SentinelMasterName"
|
sentinelMaster="SentinelMasterName"
|
||||||
sentinels="sentinel-host-1:port,sentinel-host-2:port,.."/>
|
sentinels="sentinel-host-1:port,sentinel-host-2:port,.."/>
|
||||||
|
|
||||||
属性解释:
|
属性解释:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue