Pass something random to force it to create a new client, rather than reusing it

This commit is contained in:
Marco van Dijk 2022-10-13 14:33:03 +02:00
parent 5fa08800bf
commit edc0c3d710

View File

@ -172,6 +172,7 @@ function hexToBytes(hex) {
const discoverOrchestrator = async function (target) {
if (!target) { return; }
var client = new livepeerProto.Orchestrator(target, ssl_creds);
var client = new livepeerProto.Orchestrator(target, ssl_creds, {"GRPC_ARG_DEFAULT_AUTHORITY": Math.random().toString(36).substr(2, 5)});
var receivedResults = false;
var orchestratorInfo;
const start = new Date().getTime();