fix: decrease precision of the rtt

This commit is contained in:
Tainan Felipe 2024-08-14 11:54:46 -03:00
parent 32f42163fa
commit 78608dfb51

View File

@ -31,7 +31,7 @@ const ConnectionStatus = () => {
},
});
const rttStatus = getStatus(rttLevels, networkRtt);
connectionStatus.setRttValue(networkRtt);
connectionStatus.setRttValue(networkRtt.toFixed(2));
connectionStatus.setRttStatus(rttStatus);
connectionStatus.setLastRttRequestSuccess(true);
}