Table of Contents

Class HangfireJobsSettings

Namespace
KadicErp.WebApi.Options
Assembly
KadicErp.WebApi.dll
public sealed class HangfireJobsSettings
Inheritance
object
HangfireJobsSettings

Fields

SectionName

public const string SectionName = "HangfireJobs"

Field Value

string

Properties

CheckPendingECFCron

public string CheckPendingECFCron { get; set; }

Property Value

string

JobRegistrationMaxRetries

public int JobRegistrationMaxRetries { get; set; }

Property Value

int

JobRegistrationRetrySeconds

public int JobRegistrationRetrySeconds { get; set; }

Property Value

int

PurgeReminderLogsCron

Default: once a day at 3am — purges InstallmentReminderLog older than the configured retention window (RentCar:ReminderLogRetention:RetentionDays).

public string PurgeReminderLogsCron { get; set; }

Property Value

string

QueuePollIntervalSeconds

public int QueuePollIntervalSeconds { get; set; }

Property Value

int

SchemaName

SQL schema used by Hangfire's storage. Environments that share the same physical database (e.g. a local dev instance pointed at the same ErpDb as app-dev.kuboz.io) must use DIFFERENT schemas — otherwise both Hangfire servers contend for the same "schedulepoller" distributed lock and whichever one loses never processes recurring or delayed jobs (DistributedLockTimeoutException on locks:schedulepoller).

public string SchemaName { get; set; }

Property Value

string

WorkerCount

public int WorkerCount { get; set; }

Property Value

int