From d3e48589ea2719cdde41b87fc1ad80f4ee509bac Mon Sep 17 00:00:00 2001
From: vince <757871790@qq.com>
Date: 星期五, 13 十二月 2024 10:29:56 +0800
Subject: [PATCH] 优化测温协议
---
src/main/resources/application-proGateway.yml | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/src/main/resources/application-proGateway.yml b/src/main/resources/application-proGateway.yml
index 7329ff8..55e75e4 100644
--- a/src/main/resources/application-proGateway.yml
+++ b/src/main/resources/application-proGateway.yml
@@ -1,23 +1,20 @@
-########################## 浠佸 ##########################
server:
port: 8090
- jetty:
- max-http-post-size: 209715200
- tomcat:
- max-http-post-size: 209715200
+
spring:
datasource:
#涓绘暟鎹簮
primary:
- url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&characterEncoding=utf-8
+ url: jdbc:mysql://127.0.0.1:3306/igds_api?useUnicode=true&useSSL=false&characterEncoding=utf-8
username: root
- password: Fzzy@#$%5432..K
+ password: Abc123..
driver-class-name: com.mysql.jdbc.Driver
#娆℃暟鎹簮
secondary:
- url: jdbc:mysql://127.0.0.1:3306/igds_master?useUnicode=true&characterEncoding=utf-8
+ url: jdbc:mysql://127.0.0.1:3306/igdsv4?useUnicode=true&useSSL=false&characterEncoding=utf-8
+
username: root
- password: Fzzy@#$%5432..K
+ password: Abc123..
driver-class-name: com.mysql.jdbc.Driver
jpa:
#涓籮pa閰嶇疆
@@ -38,10 +35,10 @@
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
# Redis鐩稿叧閰嶇疆
redis:
- database: 1
+ database: 5
host: 127.0.0.1
port: 6379
- password: Redispwd..
+ password:
# 杩炴帴姹犳渶澶ц繛鎺ユ暟锛堜娇鐢ㄨ礋鍊艰〃绀烘病鏈夐檺鍒讹級
pool:
max-active: 200
@@ -51,6 +48,7 @@
timeout: 6000
kafka:
bootstrap-servers: 103.203.217.16:9092
+ enabled: false
producer:
retries: 0
acks: 1
@@ -71,7 +69,6 @@
auto-offset-reset: latest
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
-
mqtt:
host: tcp://127.0.0.1:1883
username: admin
--
Gitblit v1.9.3