mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Vendor syncutil.Once
This commit is contained in:
4
ring.go
4
ring.go
@ -9,8 +9,6 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"go4.org/syncutil"
|
||||
|
||||
"github.com/go-redis/redis/internal"
|
||||
"github.com/go-redis/redis/internal/consistenthash"
|
||||
"github.com/go-redis/redis/internal/hashtag"
|
||||
@ -136,7 +134,7 @@ type Ring struct {
|
||||
hash *consistenthash.Map
|
||||
shards map[string]*ringShard
|
||||
|
||||
cmdsInfoOnce syncutil.Once
|
||||
cmdsInfoOnce internal.Once
|
||||
cmdsInfo map[string]*CommandInfo
|
||||
|
||||
closed bool
|
||||
|
Reference in New Issue
Block a user