mirror of
https://github.com/redis/go-redis.git
synced 2025-06-14 01:21:30 +03:00
Fix pool waiting for connection that was removed.
This commit is contained in:
@ -92,7 +92,7 @@ var _ = Describe("Client", func() {
|
||||
It("should support idle-timeouts", func() {
|
||||
idle := redis.NewTCPClient(&redis.Options{
|
||||
Addr: redisAddr,
|
||||
IdleTimeout: time.Nanosecond,
|
||||
IdleTimeout: 100 * time.Microsecond,
|
||||
})
|
||||
defer idle.Close()
|
||||
|
||||
|
Reference in New Issue
Block a user