Ver código fonte

remove RWMutex init

pull/2/head
g4zhuj 6 anos atrás
pai
commit
5d542568fd
1 arquivos alterados com 0 adições e 1 exclusões
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go Ver arquivo

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


Carregando…
Cancelar
Salvar