chore: 提升 SSE 单行上限到 40MB

This commit is contained in:
song
2026-01-09 20:57:06 +08:00
parent 7b1cf2c495
commit c2a6ca8d3a
4 changed files with 8 additions and 8 deletions

View File

@@ -154,9 +154,9 @@ gateway:
# Stream keepalive interval (seconds), 0=disable
# 流式 keepalive 间隔0=禁用
stream_keepalive_interval: 10
# SSE max line size in bytes (default: 25MB)
# SSE 单行最大字节数(默认 25MB
max_line_size: 26214400
# SSE max line size in bytes (default: 40MB)
# SSE 单行最大字节数(默认 40MB
max_line_size: 41943040
# Log upstream error response body summary (safe/truncated; does not log request content)
# 记录上游错误响应体摘要(安全/截断;不记录请求内容)
log_upstream_error_body: false