Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
105
func
(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
newHostsCluster
Function · 0.95
NewNode
Function · 0.95
executeWithRetry
Function · 0.80
Calls
1
Store
Method · 0.80
Tested by
1
newHostsCluster
Function · 0.76