stuff
This commit is contained in:
parent
5a0ab51c32
commit
a4f01f8062
@ -18,7 +18,7 @@ var checkDroplet = function(id, time){
|
|||||||
time = time || 5000;
|
time = time || 5000;
|
||||||
doapi.dropletInfo(id, function(data){
|
doapi.dropletInfo(id, function(data){
|
||||||
newWorker = JSON.parse(data)['droplet'];
|
newWorker = JSON.parse(data)['droplet'];
|
||||||
if(worker.status == 'active'){
|
if(newWorker.status == 'active'){
|
||||||
setTimeout(startRunners(function(){workers[workers.push(makeWokerObj(newWorker))-1]}), 5000);
|
setTimeout(startRunners(function(){workers[workers.push(makeWokerObj(newWorker))-1]}), 5000);
|
||||||
isCheckingWorkers = false;
|
isCheckingWorkers = false;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user