Vixen
02b45cc4
csharp
public record class HealthOptions

What makes a shard Lost rather than merely quiet.

Read the guide page for this →

Fields and properties (5)

  • public TimeSpan Interval

    How often a realm is expected to say something.

  • public int MissesBeforeLost

    How many it may miss. Doc 27 § Grains says three, which at the default interval is six seconds — long enough to survive a garbage collection and short enough that a crashed shard's players are placed again before they give up.

  • public Func<DateTimeOffset> Now

    The clock.

  • public static HealthOptions Default

    Doc 27's defaults.

  • public TimeSpan Patience

    How long silence has to last before a shard is declared lost.

Methods (1)

  • public HealthOptions(TimeSpan Interval, int MissesBeforeLost, Func<DateTimeOffset> Now)

    What makes a shard Lost rather than merely quiet.

Used by (3)

  • MapGrainVixen.Live.Orchestrator
  • ShardGrainVixen.Live.Orchestrator
  • ShardLifecycleVixen.Live.Orchestrator