1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-01 16:06:54 +03:00
This commit is contained in:
Poloskin Valentin Georgievich
2017-04-02 17:10:47 +03:00
parent c86c158b1f
commit 80673992e6
4 changed files with 4 additions and 4 deletions

View File

@ -319,7 +319,7 @@ func (p *ConnPool) reaper(frequency time.Duration) {
ticker := time.NewTicker(frequency)
defer ticker.Stop()
for _ = range ticker.C {
for range ticker.C {
if p.closed() {
break
}