Selaa lähdekoodia

remove RWMutex init

pull/2/head
g4zhuj 6 vuotta sitten
vanhempi
commit
5d542568fd
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go Näytä tiedosto

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


Loading…
Peruuta
Tallenna