2026-07-24 22:13:25 -03:00
|
|
|
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;
|
2026-07-27 14:40:17 -03:00
|
|
|
public int LeaseSeconds { get; set; } = 180;
|
2026-07-24 22:13:25 -03:00
|
|
|
}
|
|
|
|
|
}
|