hydra-queue-runner: make entire address configurable

This commit is contained in:
Cole Helbling
2022-04-06 10:58:57 -07:00
parent 33bc60b83c
commit edf3c348f2
4 changed files with 15 additions and 24 deletions

View File

@ -51,7 +51,7 @@ sub new {
$ENV{'HYDRA_CONFIG'} = "$dir/hydra.conf";
my $hydra_config = $opts{'hydra_config'} || "";
$hydra_config = "queue_runner_metrics_port = 0\n" . $hydra_config;
$hydra_config = "queue_runner_metrics_address = 127.0.0.1:0\n" . $hydra_config;
if ($opts{'use_external_destination_store'} // 1) {
$hydra_config = "store_uri = file:$dir/nix/dest-store\n" . $hydra_config;
}