mirror of
https://github.com/redis/go-redis.git
synced 2025-04-17 20:17:02 +03:00
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…
x
Reference in New Issue
Block a user