From 63bc9328ab5abb7e7233701bbcdce61b6caa99b7 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期六, 09 三月 2024 08:18:49 +0800
Subject: [PATCH] 优化监控雷达连接状态定时任务
---
src/main/resources/application-prod.yml | 150 +++++++++++++++++++++++++------------------------
1 files changed, 76 insertions(+), 74 deletions(-)
diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml
index 6be39a7..13649a0 100644
--- a/src/main/resources/application-prod.yml
+++ b/src/main/resources/application-prod.yml
@@ -1,75 +1,77 @@
-# 寮�鍙戠幆澧�
-server:
- port: 8088
-# spring閰嶇疆
-spring:
- servlet:
- multipart:
- enabled: true
- max-file-size: 30MB
- max-request-size: 30MB
- datasource:
- druid:
- #寮�鍚痙ruid鐩戞帶web
- stat-view-servlet:
- enabled: true
- driver-class-name: org.postgresql.Driver
- url: jdbc:postgresql://192.168.2.15:5432/ry-vue
- username: postgres
- password: postgres
- #鏈�澶ц繛鎺ユ暟
- maxActive: 30
- #鏈�灏忚繛鎺ユ暟
- minIdle: 5
- #鑾峰彇杩炴帴鐨勬渶澶х瓑寰呮椂闂�
- maxWait: 10000
- #瑙e喅mysql8灏忔椂鐨勯棶棰�
- validation-query: SELECT 'X'
- #绌洪棽杩炴帴鐨勬鏌ユ椂闂撮棿闅�
- timeBetweenEvictionRunsMillis: 60000
- #绌洪棽杩炴帴鏈�灏忕┖闂叉椂闂�
- minEvictableIdleTimeMillis: 300000
-# netty閰嶇疆
-netty:
- udp:
- port: 40000
- enabled: true
- tcp:
- enabled: true
-# mqtt閰嶇疆
-mqtt:
- host: tcp://192.168.2.15:1883
- clientId: client-2272
- username: admin
- password: admin
- timeout: 100
- keepalive: 60
- enabled: true
-# 鐩楃數鎺ュ彛鍦板潃
-stealelec:
- enabled: false
- url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
- # 涓夊巶鏁板瓧鍖栧湴鍧�
-# 涓夊満鏁板瓧鍖�
-digitization3:
- enabled: false
-# minio閰嶇疆
-minio:
- endpoint: http://192.168.2.15:9001
- accessKey: admin
- secretKey: xzx12345
-# mybatis-plus閰嶇疆
-mybatis-plus:
- type-aliases-package: com.ard.alarm.**.domain
- mapper-locations: classpath:/mapper/*.xml
-# 鏃ュ織绛夌骇閰嶇疆
-logging:
- level:
- hikSdk: info
- mqtt: debug
- netty: info
- external: info
- camera: info
- tube: info
- digitization3: info
+# 寮�鍙戠幆澧�
+server:
+ port: 8088
+# spring閰嶇疆
+spring:
+ servlet:
+ multipart:
+ enabled: true
+ max-file-size: 30MB
+ max-request-size: 30MB
+ datasource:
+ druid:
+ #寮�鍚痙ruid鐩戞帶web
+ stat-view-servlet:
+ enabled: true
+ driver-class-name: org.postgresql.Driver
+ url: jdbc:postgresql://192.168.1.14:5432/ry-vue?stringtype=unspecified
+ username: postgres
+ password: postgres
+ #鏈�澶ц繛鎺ユ暟
+ maxActive: 30
+ #鏈�灏忚繛鎺ユ暟
+ minIdle: 5
+ #鑾峰彇杩炴帴鐨勬渶澶х瓑寰呮椂闂�
+ maxWait: 10000
+ #瑙e喅mysql8灏忔椂鐨勯棶棰�
+ validation-query: SELECT 'X'
+ #绌洪棽杩炴帴鐨勬鏌ユ椂闂撮棿闅�
+ timeBetweenEvictionRunsMillis: 60000
+ #绌洪棽杩炴帴鏈�灏忕┖闂叉椂闂�
+ minEvictableIdleTimeMillis: 300000
+# netty閰嶇疆
+netty:
+ udp:
+ port: 40000
+ enabled: true
+ tcp:
+ enabled: true
+# minio閰嶇疆
+minio:
+ endpoint: http://127.0.0.1:9001
+ accessKey: admin
+ secretKey: xzx12345
+# mqtt閰嶇疆
+mqtt:
+ host: tcp://192.168.1.14:1883
+ clientId: alarm14
+ username: admin
+ password: xzx12345
+ topic: tube
+ timeout: 100
+ keepalive: 60
+ enabled: true
+# 鐩楃數鎺ュ彛鍦板潃
+stealelec:
+ enabled: false
+ url: http://iot.zhdk.net:8090/Warning/GetWarning?userName=cy4oil
+ # 涓夊巶鏁板瓧鍖栧湴鍧�
+# 涓夊満鏁板瓧鍖�
+digitization3:
+ enabled: false
+
+# mybatis-plus閰嶇疆
+mybatis-plus:
+ type-aliases-package: com.ard.alarm.**.domain
+ mapper-locations: classpath:/mapper/*.xml
+# 鏃ュ織绛夌骇閰嶇疆
+logging:
+ level:
+ hikSdk: info
+ mqtt: info
+ netty: info
+ external: info
+ camera: info
+ tube: info
+ digitization3: info
stealAlarm: info
\ No newline at end of file
--
Gitblit v1.9.3