1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-18 00:20:57 +03:00

Remove dial limiter.

This commit is contained in:
Vladimir Mihailenco
2016-12-16 15:43:37 +02:00
parent b49d47eb4d
commit c17f58f7a0
6 changed files with 3 additions and 60 deletions

View File

@ -7,7 +7,6 @@ import (
. "github.com/onsi/gomega"
"gopkg.in/redis.v5"
"gopkg.in/redis.v5/internal/pool"
)
var _ = Describe("pool", func() {
@ -80,7 +79,6 @@ var _ = Describe("pool", func() {
It("respects max size on pubsub", func() {
connPool := client.Pool()
connPool.(*pool.ConnPool).DialLimiter = nil
perform(1000, func(id int) {
pubsub, err := client.Subscribe()