Skip to content

Commit a6837f6

Browse files
committed
adjust upload size restrictions
1 parent bfc6052 commit a6837f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/resources/application.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ spring:
88
password: ${db.password}
99
servlet:
1010
multipart:
11-
max-file-size: -1
12-
max-request-size: -1
13-
file-size-threshold: 10GB
11+
max-file-size: 1GB
12+
max-request-size: 1GB
13+
file-size-threshold: 10GB # we should not hit this, since 1GB will be the limiting factor earlier
1414

1515
server:
1616
address: ${server.host}

0 commit comments

Comments
 (0)