mirror of
https://github.com/amark/gun.git
synced 2025-06-05 21:56:51 +00:00
in s not ms
This commit is contained in:
parent
b4568e52c3
commit
97065b70fa
@ -49,7 +49,7 @@
|
||||
// fetch the data from server
|
||||
var S = +new Date;
|
||||
var data = await (await fetch(url.value||(location.origin+'/gun/stats.radata'), {method: 'GET',mode: 'cors'})).json();
|
||||
$('#block').text((br += (+new Date - S)) / ++bt);
|
||||
$('#block').text(((br += (+new Date - S)/1000) / ++bt).toFixed(1));
|
||||
data.over = (data.over/1000) || 15;
|
||||
$('#peers').text(data.peers.count);
|
||||
$('#time').text((data.peers.time / 1000 / 60).toFixed(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user