Browse Source

Merge pull request #9902 from dashevchenko/multipart_env_variables

Added spring multipart parameters to http transport
pull/9904/head
Andrew Shvayka 2 years ago
committed by GitHub
parent
commit
3d07fff2cd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      transport/http/src/main/resources/tb-http-transport.yml

2
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:

Loading…
Cancel
Save