namespace AIStudio.Tools.Services; /// /// How a round of RuntimeOutageCheck probes the runtime. /// /// How many probes a round makes at most, before the runtime counts as gone. /// How long the round waits between two probes. public readonly record struct RuntimeProbeSchedule(int Probes, TimeSpan Interval) { /// /// Seven probes, ten seconds apart: the runtime counts as gone once it did not answer for a minute. /// public static readonly RuntimeProbeSchedule DEFAULT = new(7, TimeSpan.FromSeconds(10)); }