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

Fix race between Subscribe and resubscribe

This commit is contained in:
Vladimir Mihailenco
2017-04-17 16:05:01 +03:00
parent 6499563e07
commit 191f839e81
2 changed files with 36 additions and 18 deletions

View File

@ -47,7 +47,7 @@ type Options struct {
WriteTimeout time.Duration
// Maximum number of socket connections.
// Default is 100 connections.
// Default is 10 connections.
PoolSize int
// Amount of time client waits for connection if all connections
// are busy before returning an error.