fix backwards inputs
This commit is contained in:
parent
d41accaabc
commit
b5e0e6df8b
1 changed files with 4 additions and 4 deletions
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue