Browse Source

remove RWMutex init

pull/2/head
g4zhuj 6 years ago
parent
commit
5d542568fd
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go View File

@@ -43,7 +43,6 @@ func NewHashRing(spots int) *HashRing {
h := &HashRing{
virualSpots: spots,
weights: make(map[string]int),
mu: sync.RWMutex{},
}
return h
}


Loading…
Cancel
Save