feat: Enforce 1 user 1 connection for X-ray and fix active stats speed

This commit is contained in:
infosave2007
2026-01-30 15:04:23 +03:00
parent 8bf3467460
commit 1c95b34cf6
6 changed files with 94 additions and 3 deletions
+4 -1
View File
@@ -335,7 +335,10 @@
{% endif %}
</td>
<td class="px-6 py-4 text-sm">
<div id="client-speed-{{ client.id }}" class="text-gray-400">-</div>
<div id="client-speed-{{ client.id }}" class="text-gray-600 text-xs">
<span class="text-green-600">↑ {{ (client.speed_up|default(0) / 1024)|number_format(1) }} KB/s</span><br>
<span class="text-blue-600">↓ {{ (client.speed_down|default(0) / 1024)|number_format(1) }} KB/s</span>
</div>
</td>
<td class="px-6 py-4 text-sm">
{% if client.last_handshake %}