From 94688534f8fb169a2befc85f0ba1c74388a8aa7f Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 25 一月 2022 14:42:46 +0800
Subject: [PATCH] 移除db 导出的sql文件

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

diff --git a/src/main/resources/application-docker.yml b/src/main/resources/application-docker.yml
index 66c45b4..56efb46 100644
--- a/src/main/resources/application-docker.yml
+++ b/src/main/resources/application-docker.yml
@@ -1,4 +1,9 @@
 spring:
+    # 涓婁紶鏂囦欢澶у皬闄愬埗
+    servlet:
+        multipart:
+            max-file-size: 10MB
+            max-request-size: 100MB
     # REDIS鏁版嵁搴撻厤缃�
     redis:
         # [蹇呴』淇敼] Redis鏈嶅姟鍣↖P, REDIS瀹夎鍦ㄦ湰鏈虹殑,浣跨敤127.0.0.1
@@ -15,7 +20,7 @@
     datasource:
         # 浣跨敤mysql 鎵撳紑23-28琛屾敞閲婏紝 鍒犻櫎29-36琛�
         # name: wvp
-        # url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true
+        # url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&allowMultiQueries=true
         # username:
         # password:
         # type: com.alibaba.druid.pool.DruidDataSource
@@ -26,6 +31,9 @@
         password:
         type: com.alibaba.druid.pool.DruidDataSource
         driver-class-name:  org.sqlite.JDBC
+        journal_mode: WAL
+        synchronous: NORMAL
+        transaction_mode: IMMEDIATE
         max-active: 1
         min-idle: 1
 
@@ -68,7 +76,7 @@
     # 褰曞儚杈呭姪鏈嶅姟锛� 閮ㄧ讲姝ゆ湇鍔″彲浠ュ疄鐜皕lm褰曞儚鐨勭鐞嗕笌涓嬭浇锛� 0 琛ㄧず涓嶄娇鐢�
     record-assist-port: 18081
     sdp-ip: ${sip.ip}
-    stream-ip: ${media.ip}
+    stream-ip: ${sip.ip}
 # [鍙�塢 鏃ュ織閰嶇疆, 涓�鑸笉闇�瑕佹敼
 logging:
     file:

--
Gitblit v1.8.0