I found the constructor of BackgroundJobServerOptions in the official git code base. But there is no comment explaining their respective functions, nor is it stated in the official documentation. Can someone explain?
Thanks!
public BackgroundJobServerOptions()
{
WorkerCount = Math.Min(Environment.ProcessorCount * 5, MaxDefaultWorkerCount);
Queues = new[] { EnqueuedState.DefaultQueue };
StopTimeout = BackgroundProcessingServerOptions.DefaultStopTimeout;
ShutdownTimeout = BackgroundProcessingServer.DefaultShutdownTimeout;
SchedulePollingInterval = DelayedJobScheduler.DefaultPollingDelay;
HeartbeatInterval = BackgroundProcessingServerOptions.DefaultHeartbeatInterval;
ServerTimeout = ServerWatchdog.DefaultServerTimeout;
ServerCheckInterval = ServerWatchdog.DefaultCheckInterval;
CancellationCheckInterval = ServerJobCancellationWatcher.DefaultCheckInterval;
FilterProvider = null;
Activator = null;
TimeZoneResolver = null;
TaskScheduler = TaskScheduler.Default;
}