uptime decimal

This commit is contained in:
Mark Nadal 2020-02-11 14:32:25 -08:00
parent 77fda9d42c
commit 3668f5099f
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@
$('#peers').text(data.peers.count);
$('#time').text((data.peers.time / 1000 / 60).toFixed(0));
$('#nodes').text(data.node.count);
$('#hours').text((data.up.time / 60 / 60).toFixed(0));
$('#hours').text((data.up.time / 60 / 60).toFixed(1));
Stats('memory').line.append(+new Date, data.memory.heapTotal / 1024 / 1024);
try{ Stats('dam # in').line.append(+new Date, data.dam.in.count); }catch(e){}

View File

@ -33,7 +33,7 @@
console.log('async?', Gun.debug);
}
var run = mocha.run(function(a,b,c){
document.body.prepend("MARK! REMEMBER TO REMOVE RETURN!");return;
//document.body.prepend("MARK! REMEMBER TO REMOVE RETURN!");return;
var yes = confirm("REFRESH BROWSER FOR ASYNC TESTS?");
if(yes){
if(location.search){