mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-03 00:38:40 +08:00
Modify the http content-length max range : 30MB --> 32MB (#424)
Because we are programmer :)
This commit is contained in:
parent
cbfbebed00
commit
a8b550e7ef
@ -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…
Reference in New Issue
Block a user