hydra-queue-runner: use port 9198 by default

Co-authored-by: Graham Christensen <graham@grahamc.com>
This commit is contained in:
Cole Helbling 2022-04-02 17:32:14 -07:00 committed by GitHub
parent 9c1f36c47c
commit 8c5636fe18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ State::State(std::optional<uint16_t> metricsPortOpt)
, maxLogSize(config->getIntOption("max_log_size", 64ULL << 20))
, uploadLogsToBinaryCache(config->getBoolOption("upload_logs_to_binary_cache", false))
, rootsDir(config->getStrOption("gc_roots_dir", fmt("%s/gcroots/per-user/%s/hydra-roots", settings.nixStateDir, getEnvOrDie("LOGNAME"))))
, metricsPort(config->getIntOption("queue_runner_metrics_port", 9099))
, metricsPort(config->getIntOption("queue_runner_metrics_port", 9198))
, registry(std::make_shared<prometheus::Registry>())
{
hydraData = getEnvOrDie("HYDRA_DATA");