This commit is contained in:
William Mantly 2016-05-27 13:10:45 -04:00
parent 5a0ab51c32
commit a4f01f8062

View File

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