mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Fix ReceiveMessage to work without any subscriptions.
This commit is contained in:
@ -12,10 +12,6 @@ func NewSingleConnPool(cn *Conn) *SingleConnPool {
|
||||
}
|
||||
}
|
||||
|
||||
func (p *SingleConnPool) First() *Conn {
|
||||
return p.cn
|
||||
}
|
||||
|
||||
func (p *SingleConnPool) Get() (*Conn, bool, error) {
|
||||
return p.cn, false, nil
|
||||
}
|
||||
@ -49,7 +45,3 @@ func (p *SingleConnPool) Stats() *Stats {
|
||||
func (p *SingleConnPool) Close() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (p *SingleConnPool) Closed() bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user