From 7a6b5ff6bc6b3ec6ee9b5e22a0091afd82cb2c2c Mon Sep 17 00:00:00 2001 From: dashevchenko Date: Fri, 22 Dec 2023 17:11:15 +0200 Subject: [PATCH] added spring multipart yml parameters to http transport --- transport/http/src/main/resources/tb-http-transport.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transport/http/src/main/resources/tb-http-transport.yml b/transport/http/src/main/resources/tb-http-transport.yml index 05231a6fb1..74be81e667 100644 --- a/transport/http/src/main/resources/tb-http-transport.yml +++ b/transport/http/src/main/resources/tb-http-transport.yml @@ -55,6 +55,8 @@ server: # Spring common parameters spring.main.allow-circular-references: "true" # Spring Boot configuration property that controls whether circular dependencies between beans are allowed. +spring.servlet.multipart.max-file-size: "${SPRING_SERVLET_MULTIPART_MAX_FILE_SIZE:50MB}" # Total file size cannot exceed 50MB when configuring file uploads +spring.servlet.multipart.max-request-size: "${SPRING_SERVLET_MULTIPART_MAX_REQUEST_SIZE:50MB}" # Total request size for a multipart/form-data cannot exceed 50MB # Zookeeper connection parameters. Used for service discovery. zk: