better timings

This commit is contained in:
fred 2023-03-31 18:57:16 +02:00
parent 6fe4f63965
commit 637b1816ad
2 changed files with 8 additions and 2 deletions

View File

@ -130,6 +130,7 @@ if [[ ${QRCODE:0:5} == "~~~~~" ]]; then
else
## history & read
echo "${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/secret.key $APPNAME"
${MY_PATH}/../tools/timeout.sh -t 6 \
${MY_PATH}/../tools/jaklis/jaklis.py -k ~/.zen/tmp/${MOATS}/secret.key $APPNAME 2>&1 >> ~/.zen/tmp/${MOATS}/disco

View File

@ -181,12 +181,17 @@ a {
var mypub = "DsEx1pS33vzYZg4MroyBV9hCw98j1gtHEhwiZ5tK7ech"
}
var myU = 'http://astroport.localhost:1234/?qrcode=' + content +'&pass=' + pass + '&' + appname + '=' + amount + '&g1pub=' + mypub ;
console.log(myU);
homeAstroportStation(myU, 'aframe', 10000)
} else {
document.getElementById("resu").innerHTML = content;
var myU = 'http://astroport.localhost:1234/?qrcode=' + content;
console.log(myU);
homeAstroportStation(myU, 'aframe', 5000)
}
console.log(myU);
homeAstroportStation(myU, 'aframe', 5000)
// fetchAstroport(myU)