mna / redisc

A Go redis cluster client built on top of redigo.
BSD 3-Clause "New" or "Revised" License
227 stars 35 forks source link

Add PoolWaitTime to Cluster. #26

Closed iwanbk closed 5 years ago

iwanbk commented 5 years ago

If > 0, it will wait for the given time when getting connection from the pool and the pool is full.

It is implemented using GetContext, so will only work on Go > 1.7

Fixes #22

mna commented 5 years ago

Thanks!