redis/export_test.go

20 lines
278 B
Go
Raw Normal View History

2013-11-07 18:20:15 +04:00
package redis
2016-03-17 19:00:47 +03:00
import (
"time"
"gopkg.in/redis.v4/internal/pool"
2016-03-17 19:00:47 +03:00
)
func (c *baseClient) Pool() pool.Pooler {
2013-11-07 18:20:15 +04:00
return c.connPool
}
2015-03-23 11:23:33 +03:00
func (c *PubSub) Pool() pool.Pooler {
return c.base.connPool
}
2016-03-17 19:00:47 +03:00
func SetReceiveMessageTimeout(d time.Duration) {
receiveMessageTimeout = d
}