From 462485e8c558240de608bf3588abee18e835efeb Mon Sep 17 00:00:00 2001
From: 李宇 <986321569@qq.com>
Date: Mon, 14 Mar 2022 10:19:29 +0800
Subject: [PATCH] 修改最大连接数
---
src/main/webapp/WEB-INF/spring-db.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/webapp/WEB-INF/spring-db.xml b/src/main/webapp/WEB-INF/spring-db.xml
index 6a4f588..eb403d6 100644
--- a/src/main/webapp/WEB-INF/spring-db.xml
+++ b/src/main/webapp/WEB-INF/spring-db.xml
@@ -21,7 +21,7 @@
<!-- 初始化连接大小 -->
<property name="initialSize" value="1" />
<!-- 连接池最大使用连接数量 -->
- <property name="maxActive" value="20" />
+ <property name="maxActive" value="200" />
<!-- 连接池最小空闲 -->
<property name="minIdle" value="1" />
@@ -67,4 +67,4 @@
<property name="sqlSessionFactoryBeanName" value="sqlSessionFactory" />
<property name="basePackage" value="com.nanometer.smartlab.dao" />
</bean>
-</beans>
\ No newline at end of file
+</beans>
--
Gitblit v1.9.2