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

master
FengZhang 4 years ago committed by GitHub
parent 2b07f22672
commit cbfbebed00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save