Parcourir la source

remove RWMutex init

pull/2/head
g4zhuj il y a 6 ans
Parent
révision
5d542568fd
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go Voir le fichier

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


Chargement…
Annuler
Enregistrer