stuff
This commit is contained in:
parent
f6f5b81b49
commit
424b5c68c8
@ -19,11 +19,11 @@ var checkDroplet = function(id, time){
|
||||
doapi.dropletInfo(id, function(data){
|
||||
newWorker = JSON.parse(data)['droplet'];
|
||||
if(newWorker.status == 'active'){
|
||||
console.log('Runner is now active, starting runners in 10 seconds')
|
||||
console.log('Runner is now active, starting runners in 15 seconds')
|
||||
setTimeout(function(){
|
||||
console.log('Ready to start runners!')
|
||||
startRunners(workers[workers.push(makeWorkerObj(newWorker))-1])
|
||||
}, 10000);
|
||||
}, 15000);
|
||||
isCheckingWorkers = false;
|
||||
return true;
|
||||
}else{
|
||||
|
Loading…
x
Reference in New Issue
Block a user