Load balancer now detects what streams are available on what servers, does not direct traffic if not configured

This commit is contained in:
Thulinma 2017-09-29 17:10:15 +02:00
parent 4b360c8164
commit e05268f670
2 changed files with 15 additions and 0 deletions

View file

@ -1697,6 +1697,10 @@ void Controller::handlePrometheus(HTTP::Parser & H, Socket::Connection & conn, i
}
}
jsonForEach(Storage["streams"], sIt){
resp["conf_streams"].append(sIt.key());
}
H.Chunkify(resp.toString(), conn);
}