diff --git a/redis.go b/redis.go index 085993b..986f0df 100644 --- a/redis.go +++ b/redis.go @@ -32,7 +32,7 @@ func newRedisFactory(uri string) pools.Factory { } func newRedisPool(uri string, capacity int, maxCapacity int, idleTimout time.Duration) *pools.ResourcePool { - return pools.NewResourcePool(newRedisFactory(uri), capacity, maxCapacity, idleTimout) + return pools.NewResourcePool(newRedisFactory(uri), capacity, maxCapacity, idleTimout, 0) } func redisConnFromURI(uriString string) (*RedisConn, error) {