From fca5c28c79b061f4db3658f6d9e043024f326962 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期五, 14 十一月 2025 21:58:02 +0800
Subject: [PATCH] 离线默认配置改为300秒

---
 collect/src/main/resources/application.yml |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/collect/src/main/resources/application.yml b/collect/src/main/resources/application.yml
index 0293241..c802f59 100644
--- a/collect/src/main/resources/application.yml
+++ b/collect/src/main/resources/application.yml
@@ -32,12 +32,12 @@
           type: com.zaxxer.hikari.HikariDataSource
           hikari:
             minimum-idle: 5
-            maximum-pool-size: 15
+            maximum-pool-size: 50
             auto-commit: true
             idle-timeout: 30000
             pool-name: DatebookHikariCP
             max-lifetime: 1800000
-            connection-timeout: 30000
+            connection-timeout: 10000
             connection-test-query: select count(*) from root.test
 mybatis:
   configuration:
@@ -46,6 +46,8 @@
   mapper-locations: classpath:mapper/*.xml
   type-aliases-package: com.qianwen.mdc.collect.entity.iotdb,com.qianwen.mdc.collect.entity.mgr
   #com.qianwen.mdc.collect.entity.iotdb
+#绂荤嚎鍒ゅ畾鏃堕暱(姣),瓒呰繃杩欎釜鏃堕暱鏃犻噰闆嗘暟鎹垽瀹氫负绂荤嚎
+offlineConfigDuration: 300000
 wfg:
 # 璇蜂竴瀹氭敞鎰忥紒 WorkerIdBitLength + SeqBitLength + DataCenterIdBitLength <= 22
   # 1琛ㄧず闆姳婕傜Щ绠楁硶锛�2琛ㄧず浼犵粺闆姳绠楁硶

--
Gitblit v1.9.3