Explorar el Código

chore(config): update application.yml configurations

何文松 hace 12 horas
padre
commit
8bcad54920

+ 5 - 0
backend/lingyue-gateway/src/main/resources/application.yml

@@ -2,6 +2,8 @@ server:
   port: 8080
 
 spring:
+  codec:
+    max-in-memory-size: 100MB
   application:
     name: lingyue-gateway
   cloud:
@@ -14,6 +16,9 @@ spring:
         namespace: ${NACOS_NAMESPACE:}
         file-extension: yml
     gateway:
+      httpclient:
+        response-timeout: 60s
+        connect-timeout: 10000
       discovery:
         locator:
           enabled: false

+ 4 - 0
backend/lingyue-project/src/main/resources/application.yml

@@ -2,6 +2,10 @@ server:
   port: 8002
 
 spring:
+  servlet:
+    multipart:
+      max-file-size: 100MB
+      max-request-size: 100MB
   application:
     name: lingyue-project
   datasource:

+ 2 - 2
backend/lingyue-starter/src/main/resources/application.yml

@@ -1,11 +1,11 @@
 server:
   port: 8001
+
+spring:
   servlet:
     multipart:
       max-file-size: 100MB
       max-request-size: 100MB
-
-spring:
   application:
     name: lingyue-zhibao
   cloud: