You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

71 lines
2.1 KiB

# Spring Cloud
spring.application.name=eureka-client-btpro-message
eureka.client.service-url.defaultZone=http://localhost:8000/eureka/
feign.client.config.feignName.connectTimeout=5000
feign.client.config.feignName.readTimeout=5000
# File Upload
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=100MB
# Redis配置信息(spring有默认配置,不配置默认连接127.0.0.1)
# Redis数据库索引(默认为0)
spring.redis.database=0
spring.redis.host=127.0.0.1
spring.redis.port=6379
#spring.redis.password=areowqr!@43ef
spring.redis.password=
spring.redis.timeout=1000ms
spring.redis.jedis.pool.max-active=200
spring.redis.jedis.pool.max-wait=-1ms
spring.redis.jedis.pool.max-idle=10
spring.redis.jedis.pool.min-idle=0
# RabbitMQ配置信息
spring.rabbitmq.host=127.0.0.1
spring.rabbitmq.port=5672
spring.rabbitmq.username=admin
spring.rabbitmq.password=111111
# spring.rabbitmq.listener.simple.acknowledge-mode=manual
# MongoDB配置信息
spring.data.mongodb.uri=mongodb://test:po3OynBO[M3579p6L7)o@127.0.0.1:27017/test?maxPoolSize=1000
# 最大连接数,每一台服务器
spring.data.mongodb.option.max-connection-per-host=100
# 可阻塞线程队列容量
spring.data.mongodb.option.threads-allowed-to-block-for-connection-multiplier=10
# 每一台服务器的最小连接数
spring.data.mongodb.option.min-connection-per-host=1
#连接超时时间 1分钟
spring.data.mongodb.option.connect-timeout=60000
#等待时间 120000 2 * 60 * 1000
spring.data.mongodb.option.max-wait-time=120000
#Socket超时时间
spring.data.mongodb.option.socket-timeout=10000
#保持连接
spring.data.mongodb.option.socket-keep-alive=true
## 连接空闲时间8小时,否则连接太过频繁
spring.data.mongodb.option.max-connection-idle-time=28800000
spring.data.mongodb.option.max-connection-life-time=0
#心跳
spring.data.mongodb.option.heartbeat-socket-timeout=10000
spring.data.mongodb.option.heartbeat-connect-timeout=15000
spring.data.mongodb.option.min-heartbeat-frequency=5000
spring.data.mongodb.option.heartbeat-frequency=100000
# Settings
setting.snowflake.workerId = 1
setting.snowflake.datacenterId = 1
setting.log.level = debug
setting.log.path = /home/logs/tall-message
setting.log.name = tall-message