mirror of https://github.com/go-redis/redis.git
Merge pull request #934 from go-redis/fix/rm-limiter-copy
Remove limiter copy
This commit is contained in:
commit
29e07c1098
5
redis.go
5
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) {
|
||||
|
|
Loading…
Reference in New Issue