shoc-backend/SeaHaven.Services/Configuration/WorkOrderReconciliationOptions.cs
2026-07-27 14:40:17 -03:00

22 lines
982 B
C#

namespace SeaHaven.Services.Configuration
{
public sealed class WorkOrderReconciliationOptions
{
public const string SectionName = "WorkOrderReconciliation";
public bool Enabled { get; set; }
public bool RunOnStartup { get; set; } = true;
public string BaseUrl { get; set; } = "https://procurement-api.seahaven.com";
public string Region { get; set; } = "us-east-1";
public int PageSize { get; set; } = 100;
public int MaxPages { get; set; } = 10_000;
public int MaxCursorLength { get; set; } = 4_096;
public int RequestTimeoutSeconds { get; set; } = 30;
public int MaxRetries { get; set; } = 3;
public int RetryBaseDelayMilliseconds { get; set; } = 100;
public int MaxResponseBytes { get; set; } = 4_194_304;
public int PollSeconds { get; set; } = 10;
public int ScheduleMinutes { get; set; } = 60;
public int LeaseSeconds { get; set; } = 180;
}
}