2016-12-10 16:53
浏览 607


Can someone let me know the relation between PoolTimeout, IdleTimeout & IdleCheckFrequency in go-redis?


  1. 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?
  2. 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?


  1. Go - 1.7.4
  2. Redis - 3.2.6
  3. Go-Redis - v5.2
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

1条回答 默认 最新

相关推荐 更多相似问题