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.

62 lines
1.9 KiB

# eurekaע�᣺����
eureka.client.register-with-eureka = false
euraka.client.fetch-registry = false
# File Upload
spring.servlet.multipart.max-file-size=50MB
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=
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������Ϣ
5 years ago
#spring.rabbitmq.host=api.ccsens.com
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://wei:111111@49.233.89.188:27017/test
# ������������ÿһ̨������
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
#��������
5 years ago
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