This commit is contained in:
2016-05-30 18:03:59 -04:00
parent 5a5c453ea3
commit e8c26abd52

View File

@ -58,7 +58,6 @@ var workers = (function(){
workers.destroy = function(worker){
worker = worker || workers.pop();
doapi.dropletDestroy(worker.id, function(){});
// workers.checkBalance();
};
workers.makeWorkerObj = function(worker){
@ -216,7 +215,6 @@ var getAvailrunner = function(runner){
if(worker.availrunners.length === 0) continue;
if(runner && runner.worker.index <= worker.index) break;
if(runner) runnerFree(runner);
workers.checkBalance();
return worker.getRunner();
}
if(runner) return runner;