remove RWMutex init
This commit is contained in:
parent
99dfe89f6b
commit
5d542568fd
@ -43,7 +43,6 @@ func NewHashRing(spots int) *HashRing {
|
||||
h := &HashRing{
|
||||
virualSpots: spots,
|
||||
weights: make(map[string]int),
|
||||
mu: sync.RWMutex{},
|
||||
}
|
||||
return h
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user