mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Use a lock-free connection pool
This commit is contained in:
@ -17,7 +17,9 @@ var _ = Describe("Pool", func() {
|
||||
for i := 0; i < n; i++ {
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
defer GinkgoRecover()
|
||||
defer wg.Done()
|
||||
|
||||
cb()
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user