Kaynağa Gözat

修改生产环境redis地址

宋悦 7 yıl önce
ebeveyn
işleme
55bf4b8d4f

+ 7 - 2
core-main/src/main/resources/application-prod.properties

@@ -1,12 +1,17 @@
 spring.datasource.url=jdbc:mysql://qmthmysql.mysql.rds.aliyuncs.com:3306/exam_cloud?useUnicode=true&characterEncoding=UTF-8
 spring.datasource.username=exam_cloud
 spring.datasource.password=examcloud123!@#
-spring.redis.host=127.0.0.1
+
+spring.redis.host=r-wz97e520d2701e54.redis.rds.aliyuncs.com
 spring.redis.port=6379
+spring.redis.password=Qmth87863577
 
 
 spring.rabbitmq.host=localhost
 spring.rabbitmq.port=5672
 spring.rabbitmq.username=examcloud
 spring.rabbitmq.password=examcloud123
-spring.rabbitmq.listener.acknowledgeMode=MANUAL
+spring.rabbitmq.listener.acknowledgeMode=MANUAL
+
+hystrix.command.default.execution.timeout.enabled=false
+hystrix.threadpool.default.coreSize = 500