调整配置文件

This commit is contained in:
wanggeng 2021-11-30 14:53:08 +08:00
parent 8684c39b67
commit 236effbc40
2 changed files with 14 additions and 2 deletions

View File

@ -54,6 +54,18 @@ spring:
data:
mongodb:
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
redis:
database: 6
host: 192.168.0.156
port: 6379
password: 666
timeout: 3000ms
jedis:
pool:
max-active: 8
max-wait: 1ms
max-idle: 8
min-idle: 0
mybatis:
config-location: classpath:mybatis/mybatis-config.xml

View File

@ -56,11 +56,11 @@ spring:
mongodb:
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
redis:
database: 0
database: 6
host: 127.0.0.1
port: 6379
password: 666
timeout: 0
timeout: 3000ms
jedis:
pool:
max-active: 8