Browse Source

提交配置文件

weiwenhai 6 years ago
parent
commit
92b7e41bff

+ 4 - 1
examcloud-core-questions-starter/src/main/resources/application-prod.properties

@@ -45,7 +45,10 @@ server.tomcat.max-threads=2000
 eureka.client.serviceUrl.defaultZone=http://192.168.1.70:1111/eureka/
 spring.rabbitmq.host=192.168.1.70 
 spring.redis.pool.max-active=2000
-spring.datasource.tomcat.max-active=100
+#spring.datasource.tomcat.max-active=100
+spring.datasource.initialSize=50
+spring.datasource.minIdle=50
+spring.datasource.maxActive=100
 #spring.data.mongodb.uri=mongodb://root:Qmth87863577@dds-wz93958e4b3d8b141100.mongodb.rds.aliyuncs.com:3717/?authSource=admin&authMechanism=SCRAM-SHA-1&replicaSet=mgset-2892097&maxPoolSize=200
 spring.data.mongodb.uri=mongodb://root:Qmth87863577@dds-wz93958e4b3d8b141100.mongodb.rds.aliyuncs.com:3717,dds-wz93958e4b3d8b142846.mongodb.rds.aliyuncs.com:3717/admin?replicaSet=mgset-2892097