mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-23 09:00:20 +08:00
fix: default value for keepalive set to 0 (#3152)
This commit is contained in:
parent
0a46ad7ac1
commit
117611a170
@ -27,7 +27,7 @@ type (
|
||||
Token string `json:",optional"`
|
||||
NonBlock bool `json:",optional"`
|
||||
Timeout int64 `json:",default=2000"`
|
||||
KeepaliveTime time.Duration `json:",default=20s"`
|
||||
KeepaliveTime time.Duration `json:",optional"`
|
||||
Middlewares ClientMiddlewaresConf
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user