mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Simplify connection management with sticky connection pool. Fixes #260.
This commit is contained in:
@ -88,7 +88,7 @@ func newSentinel(opt *Options) *sentinelClient {
|
||||
|
||||
func (c *sentinelClient) PubSub() *PubSub {
|
||||
return &PubSub{
|
||||
baseClient: &baseClient{
|
||||
base: &baseClient{
|
||||
opt: c.opt,
|
||||
connPool: newStickyConnPool(c.connPool, false),
|
||||
},
|
||||
|
Reference in New Issue
Block a user