调整配置文件
This commit is contained in:
parent
8684c39b67
commit
236effbc40
@ -54,6 +54,18 @@ spring:
|
|||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
|
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:
|
mybatis:
|
||||||
config-location: classpath:mybatis/mybatis-config.xml
|
config-location: classpath:mybatis/mybatis-config.xml
|
||||||
|
@ -56,11 +56,11 @@ spring:
|
|||||||
mongodb:
|
mongodb:
|
||||||
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
|
uri: mongodb://smartcity:smartcity@192.168.0.156:27017/smartcity
|
||||||
redis:
|
redis:
|
||||||
database: 0
|
database: 6
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
port: 6379
|
port: 6379
|
||||||
password: 666
|
password: 666
|
||||||
timeout: 0
|
timeout: 3000ms
|
||||||
jedis:
|
jedis:
|
||||||
pool:
|
pool:
|
||||||
max-active: 8
|
max-active: 8
|
||||||
|
Loading…
Reference in New Issue
Block a user