Remove limiter copy

This commit is contained in:
Vladimir Mihailenco 2018-12-13 10:31:02 +02:00
parent 11cf9400d5
commit 9409a4baf0
1 changed files with 2 additions and 3 deletions

View File

@ -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) {