Skip to content

Commit c3e6811

Browse files
committed
Display response times as integers
1 parent 55fc36d commit c3e6811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnscrypt-proxy/static/js/monitoring.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ function formatMilliseconds(value) {
313313
if (Number.isNaN(num)) {
314314
return '-';
315315
}
316-
return num.toFixed(2) + ' ms';
316+
return Math.round(num) + ' ms';
317317
}
318318

319319
function formatBoolean(value) {

0 commit comments

Comments
 (0)