fix:【Gateway 网关】Exceeded limit on max bytes to buffer : 262144

pull/138/MERGE
YunaiV 2025-05-04 15:55:08 +08:00
parent a7e38d8e34
commit 1cc38159f2
1 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,10 @@ spring:
profiles:
active: local
# 调整缓冲区大小,解决报错 org.springframework.core.io.buffer.DataBufferLimitException: Exceeded limit on max bytes to buffer : 262144
codec:
max-in-memory-size: 10MB
main:
allow-circular-references: true # 允许循环依赖,因为项目是三层架构,无法避免这个情况。