From 1a316551c8e46b793904090cfa84781bf77fef2a Mon Sep 17 00:00:00 2001
From: zhangf <1603559716@qq.com>
Date: 星期三, 11 九月 2024 15:51:49 +0800
Subject: [PATCH] 增加科目类别

---
 ruoyi-admin/src/main/resources/application-dev.yml |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml
index c076ad0..2fd873e 100644
--- a/ruoyi-admin/src/main/resources/application-dev.yml
+++ b/ruoyi-admin/src/main/resources/application-dev.yml
@@ -24,9 +24,9 @@
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://192.168.0.52:3306/swspkmas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                url: jdbc:mysql://localhost:3306/swspkmas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
                 username: root
-                password: gkhymysql
+                password: root
             # 从库数据源
             slave:
                 # 从数据源开关/默认关闭
@@ -115,3 +115,11 @@
             #用户模块
             accountPath: /account/
 
+#线程池配置
+threadPool:
+    corePoolSize: 20
+    maxPoolSize: 20
+    queueCapacity: 10000
+    scheduling:
+        #控制线程是否执行 true:执行;false:不执行
+        enabled: true
\ No newline at end of file

--
Gitblit v1.9.2