This commit is contained in:
William Mantly 2017-10-09 02:06:37 -04:00
parent cfd6c373ad
commit 47027fdf39
2 changed files with 5 additions and 2 deletions

View File

@ -307,6 +307,7 @@ var runnerFree = function(runner){
}
delete label2runner[runner.label];
console.log(`Runner freed ${runner.label}.`, worker);
workers.startRunners({worker: runner.worker});
};

View File

@ -52,8 +52,10 @@ sleep(${sleepTime})
let __do = function(till){
if(!till) return ;
callRunner(String(Math.random())[3]);
setTimeout(__do, 1000, --till);
setTimeout(__do, 1500, --till);
};
__do(50)
__do(30)