namespace StellaOps.Feedser.Core.Jobs;

public sealed class JobSchedulerOptions
{
    public static JobSchedulerOptions Empty { get; } = new();

    public IDictionary<string, JobDefinition> Definitions { get; } = new Dictionary<string, JobDefinition>(StringComparer.Ordinal);

    public TimeSpan DefaultTimeout { get; set; } = TimeSpan.FromMinutes(15);

    public TimeSpan DefaultLeaseDuration { get; set; } = TimeSpan.FromMinutes(5);
}
