mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Server fixes, mesh agent download now has group name.
This commit is contained in:
parent
caa6dcf27d
commit
b6854dd69a
8 changed files with 585 additions and 52 deletions
|
@ -223,7 +223,7 @@ module.exports.createTaskLimiterQueue = function (maxTasks, maxTaskTime, cleanin
|
|||
//console.log('PendingLaunch ' + id);
|
||||
t.func(t.arg, id, obj); // Start the task
|
||||
}
|
||||
if ((obj.pending[0].length == 0) && (obj.pending[1].length == 0) && (obj.pending[2].length == 0) && (obj.timer != null)) {
|
||||
if ((obj.currentCount == 0) && (obj.pending[0].length == 0) && (obj.pending[1].length == 0) && (obj.pending[2].length == 0) && (obj.timer != null)) {
|
||||
// All done, clear the timer
|
||||
clearInterval(obj.timer); obj.timer = null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue