diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 1898a0e5..21d1be52 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -779,7 +779,9 @@ void State::run(BuildID buildOne) if (!lock) throw Error("hydra-queue-runner is already running"); - localStore = openStore(); + Store::Params localParams; + localParams["max-connections"] = "16"; + localStore = openStore(getEnv("NIX_REMOTE"), localParams); auto storeUri = config->getStrOption("store_uri"); _destStore = storeUri == "" ? localStore : openStore(storeUri);