stuff
This commit is contained in:
parent
d22a79c81e
commit
6c2a8d48bf
@ -141,6 +141,7 @@ var workers = (function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
for(let worker of workers){
|
for(let worker of workers){
|
||||||
|
if(worker.length <= 3) break;
|
||||||
if(worker.availrunners.length === 0 && worker.usedrunner === 0){
|
if(worker.availrunners.length === 0 && worker.usedrunner === 0){
|
||||||
console.log('found zombie worker, destroying')
|
console.log('found zombie worker, destroying')
|
||||||
workers.destroy(worker);
|
workers.destroy(worker);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user