Explorar el Código

[MQ] File upload fine-tuning.

Chris Lim hace 9 años
padre
commit
6b12eb7f6d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      crss-metering/application.yml

+ 3 - 1
crss-metering/application.yml

@@ -1,5 +1,7 @@
 spring:
   http.multipart:
     enabled: true
-    maxFileSize: 5MB
+    maxFileSize: 3MB
+    maxRequestSize: 7MB
+    fileSizeThreshold: 1MB
     resolveLazily: false