aboutsummaryrefslogtreecommitdiff
path: root/util/master/servers.jst
diff options
context:
space:
mode:
authorproller <proller@github.com>2014-01-07 02:50:45 +0400
committerproller <proller@github.com>2014-01-07 02:50:45 +0400
commitc62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8 (patch)
treeebc099dab9ded4535351b3ef3115ca593c48d482 /util/master/servers.jst
parent3e728e722a788350718046daaf36f9a9c14ef1d1 (diff)
downloadminetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.gz
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.tar.bz2
minetest-c62bab010fcf2b4b93af1cf0b71d4d0dbf78fed8.zip
Send long announce as POST, show OS in useragent
Add lag reporting to masterserver (average dtime) StyledWriter -> FastWriter in masterserver announce
Diffstat (limited to 'util/master/servers.jst')
-rw-r--r--util/master/servers.jst4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/master/servers.jst b/util/master/servers.jst
index 48116133a..54eea2842 100644
--- a/util/master/servers.jst
+++ b/util/master/servers.jst
@@ -13,7 +13,7 @@
{{? !master.no_description}}<th>Description</th>{{?}}
{{? !master.no_flags}}<th>Flags</th>{{?}}
{{? !master.no_uptime}}<th>Uptime, Age</th>{{?}}
- {{? !master.no_ping}}<th>Ping</th>{{?}}
+ {{? !master.no_ping}}<th>Ping, Lag</th>{{?}}
</tr>
{{~it.list :server:index}}
{{ if (master.limit && index + 1 > master.limit) break;}}
@@ -64,7 +64,7 @@
</td>{{?}}
{{? !master.no_ping}}
<td class="ping">
- {{=Math.floor(server.ping * 1000)}}
+ {{=Math.floor(server.ping * 1000)}}{{? server.lag}}, {{= Math.floor(server.lag * 1000)}}{{?}}
</td>{{?}}
</tr>
{{~}}