Can someone let me know the relation between PoolTimeout, IdleTimeout & IdleCheckFrequency in go-redis?
Doubts:-
- If I specify
PoolTimeout20ms,IdleTimeout20ms,PoolSize100 &IdleCheckFrequency1 min. Let's say all the connection in the pool are used and a connection finishes its operation. Then will the request for a new connection wait till the IdleCheck is run in 1 min interval? - If I specify
PoolSize100 will the client keep open 100 connections to redis even if there is no active client operation being performed to Redis?
Environment:-
- Go - 1.7.4
- Redis - 3.2.6
- Go-Redis - v5.2