Merge pull request #1481 from alfadb/fix/increase-error-log-body-limit
fix(ops): 将错误日志请求体存储限制从 10KB 提升至 256KB
This commit is contained in:
commit
760cc7d6be
@ -16,7 +16,7 @@ import (
|
|||||||
var ErrOpsDisabled = infraerrors.NotFound("OPS_DISABLED", "Ops monitoring is disabled")
|
var ErrOpsDisabled = infraerrors.NotFound("OPS_DISABLED", "Ops monitoring is disabled")
|
||||||
|
|
||||||
const (
|
const (
|
||||||
opsMaxStoredRequestBodyBytes = 10 * 1024
|
opsMaxStoredRequestBodyBytes = 256 * 1024
|
||||||
opsMaxStoredErrorBodyBytes = 20 * 1024
|
opsMaxStoredErrorBodyBytes = 20 * 1024
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user