1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

after the connection pool is closed, no new connections should be added (#1863)

* after the connection pool is closed, no new connections should be added

Signed-off-by: monkey92t <golang@88.com>

* remove runGoroutine

Signed-off-by: monkey92t <golang@88.com>

* pool.popIdle add p.closed check

Signed-off-by: monkey92t <golang@88.com>

* upgrade golangci-lint v1.42.0

Signed-off-by: monkey92t <golang@88.com>
This commit is contained in:
monkey92t
2021-08-19 16:56:23 +08:00
committed by GitHub
parent bc9d5c8d3a
commit afafeda8a3
4 changed files with 71 additions and 9 deletions

View File

@ -19,7 +19,7 @@ const (
//------------------------------------------------------------------------------
const Nil = RedisError("redis: nil")
const Nil = RedisError("redis: nil") // nolint:errname
type RedisError string