From fe82f1f9a9be911d1420fe3b018ea85dd5fff1a3 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 21 十一月 2024 21:22:58 +0800
Subject: [PATCH] 代码整理
---
collect/src/main/resources/application.yml | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/collect/src/main/resources/application.yml b/collect/src/main/resources/application.yml
index a3ddb80..4eff48d 100644
--- a/collect/src/main/resources/application.yml
+++ b/collect/src/main/resources/application.yml
@@ -2,6 +2,8 @@
port: 8099
spring:
+ application:
+ name: qwcollect
profiles:
active: dev
datasource:
@@ -30,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:
@@ -44,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: 3000000
wfg:
# 璇蜂竴瀹氭敞鎰忥紒 WorkerIdBitLength + SeqBitLength + DataCenterIdBitLength <= 22
# 1琛ㄧず闆姳婕傜Щ绠楁硶锛�2琛ㄧず浼犵粺闆姳绠楁硶
--
Gitblit v1.9.3