调整配置文件
This commit is contained in:
parent
8684c39b67
commit
236effbc40
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user