MCPcopy Create free account
hub / github.com/coder/coder / isHealthy

Method isHealthy

enterprise/tailnet/pgcoord.go:997–1001  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

995}
996
997func (q *querier) isHealthy() bool {
998 q.mu.Lock()
999 defer q.mu.Unlock()
1000 return q.healthy
1001}
1002
1003func (q *querier) cleanupConn(c *connIO) {
1004 logger := q.logger.With(slog.F("peer_id", c.UniqueID()))

Callers 2

CoordinateMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by 1