diff --git a/ProxyNetworkInterface.php b/ProxyNetworkInterface.php index 1503048..2e593b6 100644 --- a/ProxyNetworkInterface.php +++ b/ProxyNetworkInterface.php @@ -156,7 +156,7 @@ public static function handleRawLatency(NetworkSession $session, int $upstream, { self::$latencyMap[$session] = $data = new LatencyData($upstream, $downstream); - $session->updatePing($data->getLatency()); + $session->updatePing((int) ($data->getLatency() / 1000)); } public static function getLatencyData(NetworkSession $session): ?LatencyData