mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 02:45:10 +02:00
Fix RTR, SR
This commit is contained in:
parent
ab7c8e4510
commit
25db78d58f
@ -429,8 +429,8 @@ const updateScore = async function (address) {
|
||||
for (const [region, results] of Object.entries(json)) {
|
||||
for (const instance of results) {
|
||||
if (instance.timestamp * 1000 > lastTime) {
|
||||
const newRTR = instance.success_rate;
|
||||
const newSR = instance.round_trip_time / instance.seg_duration;
|
||||
const newSR = instance.success_rate;
|
||||
const newRTR = instance.round_trip_time / instance.seg_duration;
|
||||
let latitude = null;
|
||||
let longitude = null;
|
||||
for (const [resolvedTarget, instance] of Object.entries(thisInstances)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user