mirror of
https://github.com/amark/gun.git
synced 2025-03-30 15:08:33 +00:00
uptime decimal
This commit is contained in:
parent
77fda9d42c
commit
3668f5099f
@ -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){}
|
||||
|
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user