From 9409a4baf0993a02fc86a98b2049825b39b8adac Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 13 Dec 2018 10:31:02 +0200 Subject: [PATCH] Remove limiter copy --- redis.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/redis.go b/redis.go index f692ce5..aca3064 100644 --- a/redis.go +++ b/redis.go @@ -389,8 +389,7 @@ type Client struct { baseClient cmdable - limiter Limiter - ctx context.Context + ctx context.Context } // NewClient returns a client to the Redis Server specified by Options. @@ -502,7 +501,7 @@ func (c *Client) pubSub() *PubSub { // if err != nil { // // handle error // } -// +// // // Should be *Subscription, but others are possible if other actions have been // // taken on sub since it was created. // switch iface.(type) {