TaskSchedulerConfig.aggressive constructor
TaskSchedulerConfig.aggressive()
Creates a TaskSchedulerConfig for high resource usage
Implementation
factory TaskSchedulerConfig.aggressive() {
return const TaskSchedulerConfig(
maxConcurrentTasks: 20,
maxConcurrentTasksPerDomain: 4,
useAdaptiveConcurrency: true,
minConcurrencyLevel: 2,
maxConcurrencyLevel: 30,
cpuThreshold: 0.9,
memoryThreshold: 0.9,
);
}