|
|
@@ -32,10 +32,10 @@ spring:
|
|
|
# database: 6
|
|
|
# password: RUw3C4tAF0aE4PVC
|
|
|
redis:
|
|
|
- host: localhost
|
|
|
- port: 6379
|
|
|
- password:
|
|
|
- database: 0
|
|
|
+ host: 127.0.0.1
|
|
|
+ port: 6378
|
|
|
+ password: 8756redis2024
|
|
|
+ database: 7
|
|
|
timeout: 5000
|
|
|
lettuce:
|
|
|
pool:
|
|
|
@@ -43,12 +43,25 @@ spring:
|
|
|
max-idle: 16 # 最大空闲连接
|
|
|
min-idle: 8 # 最小空闲连接
|
|
|
max-wait: 100ms # 连接等待时间
|
|
|
- jedis:
|
|
|
- pool:
|
|
|
- max-active: 32 # 连接池最大连接数
|
|
|
- max-idle: 16 # 连接池中的最大空闲连接
|
|
|
- min-idle: 5 # 连接池中的最小空闲连接
|
|
|
- max-wait: 30000 # 当池耗尽时,在引发异常之前,连接分配应阻塞的最长时间(毫秒)
|
|
|
+#
|
|
|
+# redis:
|
|
|
+# host: localhost
|
|
|
+# port: 6379
|
|
|
+# password:
|
|
|
+# database: 0
|
|
|
+# timeout: 5000
|
|
|
+# lettuce:
|
|
|
+# pool:
|
|
|
+# max-active: 32 # 最大连接
|
|
|
+# max-idle: 16 # 最大空闲连接
|
|
|
+# min-idle: 8 # 最小空闲连接
|
|
|
+# max-wait: 100ms # 连接等待时间
|
|
|
+# jedis:
|
|
|
+# pool:
|
|
|
+# max-active: 32 # 连接池最大连接数
|
|
|
+# max-idle: 16 # 连接池中的最大空闲连接
|
|
|
+# min-idle: 5 # 连接池中的最小空闲连接
|
|
|
+# max-wait: 30000 # 当池耗尽时,在引发异常之前,连接分配应阻塞的最长时间(毫秒)
|
|
|
|
|
|
artemis:
|
|
|
alwaysSessionAsync: true
|