mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 02:45:10 +02:00
Fix test streams not getting parsed
This commit is contained in:
parent
9b63d72b09
commit
e8be381ee6
@ -412,7 +412,7 @@ const updateScore = async function (address) {
|
|||||||
let hasEdited = false;
|
let hasEdited = false;
|
||||||
for (const [region, results] of Object.entries(json)) {
|
for (const [region, results] of Object.entries(json)) {
|
||||||
for (const instance of results) {
|
for (const instance of results) {
|
||||||
if (instance.timestamp > lastTime) {
|
if (instance.timestamp * 1000 > lastTime) {
|
||||||
const newRTR = instance.success_rate;
|
const newRTR = instance.success_rate;
|
||||||
const newSR = instance.round_trip_time / instance.seg_duration;
|
const newSR = instance.round_trip_time / instance.seg_duration;
|
||||||
let latitude = null;
|
let latitude = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user