瀏覽代碼

remove RWMutex init

pull/2/head
g4zhuj 6 年之前
父節點
當前提交
5d542568fd
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      hashring.go

+ 0
- 1
hashring.go 查看文件

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


Loading…
取消
儲存