This commit is contained in:
William Mantly 2016-05-27 13:14:44 -04:00
parent a4f01f8062
commit 6b72ddcdd4

View File

@ -19,7 +19,7 @@ var checkDroplet = function(id, time){
doapi.dropletInfo(id, function(data){
newWorker = JSON.parse(data)['droplet'];
if(newWorker.status == 'active'){
setTimeout(startRunners(function(){workers[workers.push(makeWokerObj(newWorker))-1]}), 5000);
setTimeout(function(){startRunners(workers[workers.push(makeWokerObj(newWorker))-1])}, 5000);
isCheckingWorkers = false;
return true;
}else{