Sfoglia il codice sorgente

remove RWMutex init

pull/2/head
g4zhuj 6 anni fa
parent
commit
5d542568fd
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go Vedi 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…
Annulla
Salva