There was an error while loading. Please reload this page.
https://github.com/go-redis/redis/blob/bc9d5c8d3af4780baecc5b76e3f37a9c3d18ab42/internal/pool/pool.go#L117-L134
https://github.com/go-redis/redis/blob/bc9d5c8d3af4780baecc5b76e3f37a9c3d18ab42/internal/pool/pool.go#L412
When redis client is closed before all goroutine is completed,p.poolSize and p.idleConnsLen will overflow maybe.