🐛 Fix health check

This commit is contained in:
2025-10-07 00:41:26 +08:00
parent e634968e00
commit 1176fde8b4

View File

@@ -107,13 +107,11 @@ var clusters = serviceNames.Select(serviceName => new ClusterConfig
Enabled = true, Enabled = true,
Interval = TimeSpan.FromSeconds(10), Interval = TimeSpan.FromSeconds(10),
Timeout = TimeSpan.FromSeconds(5), Timeout = TimeSpan.FromSeconds(5),
Policy = "ActiveHealthy",
Path = "/health" Path = "/health"
}, },
Passive = new() Passive = new()
{ {
Enabled = true, Enabled = true
Policy = "PassiveHealthy"
} }
}, },
Destinations = new Dictionary<string, DestinationConfig> Destinations = new Dictionary<string, DestinationConfig>