From 03559c49f4903130f3496324829bc2ca938a0ef2 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Fri, 3 Nov 2023 16:01:11 +0100 Subject: [PATCH] Fix using correct orch name for test stream results --- master/src/routes/hodler.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/master/src/routes/hodler.js b/master/src/routes/hodler.js index dea0127..1f5dbb0 100644 --- a/master/src/routes/hodler.js +++ b/master/src/routes/hodler.js @@ -455,6 +455,7 @@ Main Loop const updateScore = async function (address) { console.log("Checking for new scores for " + address); const thisInstances = orchCache[address.toLowerCase()].instances; + const thisName = orchCache[address.toLowerCase()].name; const lastTime = orchCache[address.toLowerCase()].leaderboardResults.lastTime; let url = @@ -489,7 +490,7 @@ const updateScore = async function (address) { promLatestRTR.set( { livepeer_region: instance.region, - orchestrator: address, + orchestrator: thisName, latitude: latitude, longitude: longitude, }, @@ -498,7 +499,7 @@ const updateScore = async function (address) { promLatestSuccessRate.set( { livepeer_region: instance.region, - orchestrator: address, + orchestrator: thisName, latitude: latitude, longitude: longitude, },