Merge pull request #1481 from alfadb/fix/increase-error-log-body-limit

fix(ops): 将错误日志请求体存储限制从 10KB 提升至 256KB
This commit is contained in:
Wesley Liddick
2026-04-09 21:14:13 +08:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ import (
var ErrOpsDisabled = infraerrors.NotFound("OPS_DISABLED", "Ops monitoring is disabled")
const (
opsMaxStoredRequestBodyBytes = 10 * 1024
opsMaxStoredRequestBodyBytes = 256 * 1024
opsMaxStoredErrorBodyBytes = 20 * 1024
)