TaskSchedulerConfig constructor
const
TaskSchedulerConfig({})
Creates a new TaskSchedulerConfig
Implementation
const TaskSchedulerConfig({
this.maxConcurrentTasks = 10,
this.maxConcurrentTasksPerDomain = 2,
this.useAdaptiveConcurrency = true,
this.minConcurrencyLevel = 1,
this.maxConcurrencyLevel = 20,
this.cpuThreshold = 0.8,
this.memoryThreshold = 0.8,
this.resourceCheckIntervalMs = 5000,
});