MCPcopy Create free account
hub / github.com/InferCore/InferCore / allHealthy

Function allHealthy

internal/replay/replay.go:151–157  ·  view source on GitHub ↗
(cfg *config.Config)

Source from the content-addressed store, hash-verified

149}
150
151func allHealthy(cfg *config.Config) map[string]bool {
152 out := make(map[string]bool, len(cfg.Backends))
153 for _, b := range cfg.Backends {
154 out[b.Name] = true
155 }
156 return out
157}
158
159func buildFallbackList(cfg *config.Config, primary string, health map[string]bool) []types.RouteDecision {
160 // Mirror server.buildFallback logic via router package helper would duplicate; inline minimal.

Callers 1

replayCurrentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected