Lower the max concurrent tasks to 6
This commit is contained in:
parent
809b69ae10
commit
9f469eae3a
@ -31,7 +31,7 @@
|
|||||||
|
|
||||||
class TaskQueue {
|
class TaskQueue {
|
||||||
public:
|
public:
|
||||||
TaskQueue(size_t max_concurrent_tasks = 10);
|
TaskQueue(size_t max_concurrent_tasks = 6);
|
||||||
~TaskQueue();
|
~TaskQueue();
|
||||||
|
|
||||||
void enqueue(std::shared_ptr<JobStatus> jobstatus, std::function<void(std::shared_ptr<Log> log)> task_func, std::shared_ptr<PackageConf> packageconf);
|
void enqueue(std::shared_ptr<JobStatus> jobstatus, std::function<void(std::shared_ptr<Log> log)> task_func, std::shared_ptr<PackageConf> packageconf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user