Can someone let me know the relation between PoolTimeout, IdleTimeout & IdleCheckFrequency in go-redis?
Doubts:-
- If I specify
PoolTimeout
20ms,IdleTimeout
20ms,PoolSize
100 &IdleCheckFrequency
1 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
PoolSize
100 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