mirror of
https://github.com/amark/gun.git
synced 2026-03-03 16:00:29 +00:00
uptime decimal
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user