|
@ -21,6 +21,15 @@ spring:
|
|
|
test-while-idle: true #指明连接是否被空闲连接回收器(如果有)进行检验,如果检测失败,则连接将被从池中去除
|
|
|
min-evictable-idle-time-millis: 3600000 #连接池中连接,在时间段内一直空闲,被逐出连接池的时间(1000*60*60),以毫秒为单位
|
|
|
time-between-eviction-runs-millis: 300000 #在空闲连接回收器线程运行期间休眠的时间值,以毫秒为单位,一般比minEvictableIdleTimeMillis小
|
|
|
redis:
|
|
|
database: 0 # Database index used by the connection factory.
|
|
|
password: # Login password of the redis server.
|
|
|
timeout: 120000 # 连接超时时间(毫秒) 60秒
|
|
|
pool:
|
|
|
max-active: 20 # 连接池最大连接数(使用负值表示没有限制)
|
|
|
max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
max-idle: 20 # 连接池中的最大空闲连接
|
|
|
min-idle: 5 # 连接池中的最小空闲连接
|
|
|
|
|
|
fast-dfs:
|
|
|
tracker-server: 172.26.0.110:22122 #服务器地址
|
|
@ -50,6 +59,7 @@ FileTempPath:
|
|
|
voice_path : /var/local/upload/voice
|
|
|
chat_file_path : /var/local/upload/chat
|
|
|
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwdev
|
|
@ -79,6 +89,9 @@ spring:
|
|
|
url: jdbc:mysql://172.26.0.104/base?useUnicode:true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: ssgg
|
|
|
password: ssgg@jkzl2019
|
|
|
redis:
|
|
|
host: 172.26.0.253 # Redis server host.
|
|
|
port: 6379 # Redis server port.
|
|
|
|
|
|
# mq 是否获取his数据,flag代表获取演示数据,false代表获取his真实数据
|
|
|
demo:
|