add post size
Test Workflow / test (push) Successful in 2s

This commit is contained in:
vladp
2025-12-26 19:40:08 +07:00
parent 291586dbf4
commit 9541e89651
+12 -5
View File
@@ -16,10 +16,11 @@ spring:
servlet: servlet:
multipart: multipart:
enabled: true
resolve-lazily: true #
file-size-threshold: 2KB #
max-file-size: 10MB max-file-size: 10MB
max-request-size: 100MB max-request-size: 100MB
enabled: true
resolve-lazily: false
file: file:
storage: storage:
@@ -31,6 +32,13 @@ file:
temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня temp-ttl-hours: ${TEMP_TTL_HOURS:72} # 3 дня
session-expiry-hours: ${SESSION_EXPIRY_HOURS:24} session-expiry-hours: ${SESSION_EXPIRY_HOURS:24}
server:
port: ${SERVER_PORT:8080}
tomcat:
max-swallow-size: -1 #
connection-timeout: 300000 #
max-http-header-size: 16KB
security: security:
cors: cors:
allowed-origins: "*" allowed-origins: "*"
@@ -38,13 +46,12 @@ security:
allowed-headers: "*" allowed-headers: "*"
allow-credentials: true allow-credentials: true
server:
port: ${SERVER_PORT:8080}
logging: logging:
level: level:
com.example.fileupload: DEBUG com.example.fileupload: DEBUG
org.springframework.web: DEBUG org.springframework.web: DEBUG
org.springframework.web.multipart: TRACE # ← ДЛЯ ОТЛАДКИ
org.apache.tomcat: DEBUG # ← ЛОГИ TOMCAT
org.hibernate.SQL: DEBUG org.hibernate.SQL: DEBUG
file: file:
name: logs/application.log name: logs/application.log