mirror of
https://github.com/stronk-dev/OrchestratorTracker.git
synced 2025-07-05 10:55:09 +02:00
Fix init for new Orch
This commit is contained in:
parent
80311c3fba
commit
c70ec8d252
@ -156,7 +156,7 @@ masterRouter.post("/collectStats", async (req, res) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!orchFound) {
|
if (!orchFound) {
|
||||||
currentDataList = [{ tag, data: [{ latency: thisPing, timestamp: now }] }];
|
currentDataList = [{ latency: thisPing, timestamp: now }];
|
||||||
orchScores.push({ id: thisId, data: currentDataList });
|
orchScores.push({ id: thisId, data: currentDataList });
|
||||||
}
|
}
|
||||||
await storage.setItem('orchScores', orchScores);
|
await storage.setItem('orchScores', orchScores);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user