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){
|
||||
setStatus(instance,req.ok);
|
||||
}else{
|
||||
setTimeout(30000,()=>{
|
||||
setTimeout(()=>{
|
||||
check(tries+1);
|
||||
})
|
||||
},30000)
|
||||
}
|
||||
}catch{
|
||||
if(tries>3){
|
||||
setStatus(instance,false);
|
||||
}else{
|
||||
setTimeout(30000,()=>{
|
||||
setTimeout(()=>{
|
||||
check(tries+1);
|
||||
})
|
||||
},30000)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue