mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
sync v8.11.0
This commit is contained in:
@ -91,7 +91,7 @@ func (opt *ClusterOptions) init() {
|
||||
}
|
||||
|
||||
if opt.PoolSize == 0 {
|
||||
opt.PoolSize = 5 * runtime.NumCPU()
|
||||
opt.PoolSize = 5 * runtime.GOMAXPROCS(0)
|
||||
}
|
||||
|
||||
switch opt.ReadTimeout {
|
||||
|
Reference in New Issue
Block a user