namespace ScadaLink.ClusterInfrastructure;

public class ClusterOptions
{
    public List<string> SeedNodes { get; set; } = new();
    public string SplitBrainResolverStrategy { get; set; } = "keep-oldest";
    public TimeSpan StableAfter { get; set; } = TimeSpan.FromSeconds(15);
    public TimeSpan HeartbeatInterval { get; set; } = TimeSpan.FromSeconds(2);
    public TimeSpan FailureDetectionThreshold { get; set; } = TimeSpan.FromSeconds(10);
    public int MinNrOfMembers { get; set; } = 1;
}
