modify the maximum content-length to 30MB (#413)

This commit is contained in:
FengZhang
2021-01-29 22:14:48 +08:00
committed by GitHub
parent 2b07f22672
commit cbfbebed00

View File

@@ -32,7 +32,7 @@ type (
KeyFile string `json:",optional"`
Verbose bool `json:",optional"`
MaxConns int `json:",default=10000"`
MaxBytes int64 `json:",default=1048576,range=[0:8388608]"`
MaxBytes int64 `json:",default=1048576,range=[0:31457280]"`
// milliseconds
Timeout int64 `json:",default=3000"`
CpuThreshold int64 `json:",default=900,range=[0:1000]"`