This commit is contained in:
Donald Cheng Hong Zou
2022-01-19 09:08:27 -05:00
parent 120d3b9f54
commit 7139e230cf
4 changed files with 8 additions and 3 deletions

View File

@@ -340,6 +340,7 @@
*/
function loadPeers(searchString){
startProgressBar();
let d1 = new Date();
$.ajax({
method: "GET",
url: `/get_config/${conf_name}?search=${encodeURIComponent(searchString)}`,
@@ -354,6 +355,9 @@
$(".dot.dot-stopped").attr("title","Peer Disconnected").tooltip();
$("i[data-toggle='tooltip']").tooltip();
endProgressBar();
let d2 = new Date();
let seconds = (d2 - d1);
$("#peer_loading_time").html(`Peer Loading Time: ${seconds}ms`);
}).fail(function(){
noResponding();
});

File diff suppressed because one or more lines are too long