MCPcopy Create free account
hub / github.com/dadgar/onecache / remove

Method remove

onecache/ring.go:138–143  ·  view source on GitHub ↗

remove removes a node from the consistent ring.

(node string)

Source from the content-addressed store, hash-verified

136
137// remove removes a node from the consistent ring.
138func (c *consistentRing) remove(node string) {
139 c.lock.Lock()
140 defer c.lock.Unlock()
141
142 c.ring.Remove(node)
143}

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected