[ Server ] [ Status ] - refresh status part

This commit is contained in:
zeaslity
2023-12-22 16:22:20 +08:00
parent 53f4f526cf
commit 1f8c174009
25 changed files with 538 additions and 259 deletions

View File

@@ -27,31 +27,23 @@ spring:
port: 21370
database: 0
password: boge8tingH
# cluster:
# nodes:
# - 43.154.83.213:21370
# - 43.154.83.213:21371
# - 43.154.83.213:21372
# - 43.154.83.213:21373
# - 43.154.83.213:21374
# - 43.154.83.213:21375
# # 获取失败 最大重定向次数
# max-redirects: 3
# timeout: 50000
timeout: 50000
#如果用以前的jedis可以把下面的lettuce换成jedis即可
lettuce:
jedis:
pool:
# 连接池最大连接数默认值为8
max-active: 16
# 连接池最大阻塞时间(使用负值表示没有限制)默认值为-1
max-wait: -1
max-wait: 1000
# 连接池中最大空闲连接数默认值为8
max-idle: 10
max-idle: 16
# 连接池中的最小空闲连接数默认值为0
min-idle: 10
min-idle: 4
time-between-eviction-runs: 50000
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.250.0.100:21306/octopus_server?autoReconnect=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8