mirror of
https://github.com/redis/go-redis.git
synced 2025-08-01 16:06:54 +03:00
Use random node to load cluster slots
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
package hashtag
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"strings"
|
||||
|
||||
"golang.org/x/exp/rand"
|
||||
)
|
||||
|
||||
const slotNumber = 16384
|
||||
|
Reference in New Issue
Block a user