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

master
Kevin Wan 2 years ago committed by GitHub
parent 0a46ad7ac1
commit 117611a170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save