From 833893d56463f64332d5f5a3abcf774e8ad3f9c5 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期二, 19 七月 2022 17:31:33 +0800 Subject: [PATCH] Merge branch 'master' of https://sinanoaq.cn:8888/r/safePlatform-out into genchuang --- safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java index 065a578..d7922fd 100644 --- a/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java +++ b/safePlatfrom-out-web/src/main/java/com/gkhy/safePlatform/config/database/DruidConfig.java @@ -44,7 +44,7 @@ // ds.setXaDataSourceClassName("com.alibaba.druid.pool.xa.DruidXADataSource"); ds.setXaDataSourceClassName(datasourceClass); ds.setUniqueResourceName("goalmanage"); - ds.setPoolSize(5); + ds.setPoolSize(2); ds.setXaProperties(prop); return ds; @@ -60,7 +60,7 @@ // ds.setXaDataSourceClassName("com.alibaba.druid.pool.xa.DruidXADataSource"); ds.setXaDataSourceClassName(datasourceClass); ds.setUniqueResourceName("emergency"); - ds.setPoolSize(5); + ds.setPoolSize(2); ds.setXaProperties(prop); return ds; } @@ -74,7 +74,7 @@ ds.setXaDataSourceClassName(datasourceClass); // ds.setXaDataSourceClassName("com.alibaba.druid.pool.xa.DruidXADataSource"); ds.setUniqueResourceName("incidentmanage"); - ds.setPoolSize(5); + ds.setPoolSize(2); ds.setXaProperties(prop); return ds; } -- Gitblit v1.9.2