diff --git a/grpc/client.go b/grpc/client.go index 4d9c897..a9aeec2 100644 --- a/grpc/client.go +++ b/grpc/client.go @@ -40,7 +40,8 @@ type Client struct { func NewContext() (context.Context, context.CancelFunc) { baseCtx := context.TODO() - return context.WithTimeout(baseCtx, 60*time.Second) + //return context.WithTimeout(baseCtx, 60*time.Second) + return context.WithCancel(baseCtx) } func NewClient(address string) (*Client, error) {