fix: default value for keepalive set to 0 (#3152)

This commit is contained in:
Kevin Wan
2023-04-21 11:15:05 +08:00
committed by GitHub
parent 0a46ad7ac1
commit 117611a170

View File

@@ -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
}