Open levanlongktmt opened 1 year ago
Using ConnPool instead of *redis.Pool will make Pool from NewSingleHostPool and NewMultiHostPool can be reused for multiple clients.
ConnPool
*redis.Pool
NewSingleHostPool
NewMultiHostPool
This also can be used to resolve https://github.com/RediSearch/redisearch-go/issues/135
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information No Duplication information
Using
ConnPool
instead of*redis.Pool
will make Pool fromNewSingleHostPool
andNewMultiHostPool
can be reused for multiple clients.This also can be used to resolve https://github.com/RediSearch/redisearch-go/issues/135