fix backwards inputs
This commit is contained in:
8
stats.js
8
stats.js
@@ -45,17 +45,17 @@ async function observe(instances){
|
|||||||
if(tries>3||req.ok){
|
if(tries>3||req.ok){
|
||||||
setStatus(instance,req.ok);
|
setStatus(instance,req.ok);
|
||||||
}else{
|
}else{
|
||||||
setTimeout(30000,()=>{
|
setTimeout(()=>{
|
||||||
check(tries+1);
|
check(tries+1);
|
||||||
})
|
},30000)
|
||||||
}
|
}
|
||||||
}catch{
|
}catch{
|
||||||
if(tries>3){
|
if(tries>3){
|
||||||
setStatus(instance,false);
|
setStatus(instance,false);
|
||||||
}else{
|
}else{
|
||||||
setTimeout(30000,()=>{
|
setTimeout(()=>{
|
||||||
check(tries+1);
|
check(tries+1);
|
||||||
})
|
},30000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user