Kaynağa Gözat

remove RWMutex init

pull/2/head
g4zhuj 6 yıl önce
ebeveyn
işleme
5d542568fd
1 değiştirilmiş dosya ile 0 ekleme ve 1 silme
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet