Modify the http content-length max range : 30MB --> 32MB (#424)

Because we are programmer :)
master
FengZhang 4 years ago committed by GitHub
parent cbfbebed00
commit a8b550e7ef
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:31457280]"` MaxBytes int64 `json:",default=1048576,range=[0:33554432]"`
// 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