diff --git a/zrpc/config.go b/zrpc/config.go index 80f3bd2e..afbb4882 100644 --- a/zrpc/config.go +++ b/zrpc/config.go @@ -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 }