MCPcopy Create free account
hub / github.com/ContentSquare/chproxy / SetIsActive

Method SetIsActive

internal/topology/node.go:105–107  ·  view source on GitHub ↗
(active bool)

Source from the content-addressed store, hash-verified

103}
104
105func (n *Node) SetIsActive(active bool) {
106 n.active.Store(active)
107}
108
109// StartHeartbeat runs the heartbeat healthcheck against the node
110// until the done channel is closed.

Callers 3

newHostsClusterFunction · 0.95
NewNodeFunction · 0.95
executeWithRetryFunction · 0.80

Calls 1

StoreMethod · 0.80

Tested by 1

newHostsClusterFunction · 0.76