更新 template/entrance/web/src/main/resources/application.properties
This commit is contained in:
@@ -41,25 +41,11 @@ server.forward-headers-strategy=framework
|
||||
|
||||
## message config , use memory for test, mq.type can be redis/rocketmq/kafka
|
||||
mq.type=memory
|
||||
#redis
|
||||
spring.redis.host=${REDIS_HOST:redis.byteawake.com}
|
||||
spring.redis.port=6379
|
||||
spring.redis.timeout=3000
|
||||
|
||||
#rocketmq.name-server=${ROCKETMQ_HOST:10.0.2.221:9876;10.0.2.222:9876;10.0.2.223:9876}
|
||||
|
||||
#redis
|
||||
#redis-config.pool.hostAndPort=${REDIS_HOST:redis.byteawake.com:6379}
|
||||
#redis-config.pool.password=${REDIS_PASSWORD:}
|
||||
#redis-config.pool.maxTotal=100
|
||||
#redis-config.pool.maxIdle=10
|
||||
#redis-config.pool.minIdle=10
|
||||
#redis-config.pool.maxWaitMillis=10000
|
||||
#redis-config.pool.softMinEvictableIdleTimeMillis=10000
|
||||
#redis-config.pool.testOnBorrow=true
|
||||
#redis-config.pool.testOnReturn=true
|
||||
#redis-config.pool.testWhileIdle=true
|
||||
#redis-config.pool.timeBetweenEvictionRunsMillis=30000
|
||||
#redis-config.pool.minEvictableIdleTimeMillis=1800000
|
||||
#redis-config.pool.numTestsPerEvictionRun=3
|
||||
#redis-config.pool.blockWhenExhausted=true
|
||||
#redis-config.pool.jmxEnabled=true
|
||||
#redis-config.pool.lifo=true
|
||||
|
||||
#kafka.bootstrap-servers=localhost:9092
|
||||
|
||||
Reference in New Issue
Block a user