Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
edolstra committed Apr 18, 2017

Verified

This commit was signed with the committer’s verified signature.
edolstra Eelco Dolstra
1 parent fed37ea commit cc85208
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hydra-queue-runner/hydra-queue-runner.cc
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ static uint64_t getMemSize()


State::State()
: config(std::make_unique<Config>())
: config(std::make_unique<::Config>())
, dbPool(config->getIntOption("max_db_connections", 128))
, memoryTokens(config->getIntOption("nar_buffer_size", getMemSize() / 2))
, maxOutputSize(config->getIntOption("max_output_size", 2ULL << 30))
@@ -189,7 +189,7 @@ void State::monitorMachinesFile()

if (machinesFiles.empty()) {
parseMachines("localhost " +
(settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem)
(settings.thisSystem == "x86_64-linux" ? "x86_64-linux,i686-linux" : settings.thisSystem.get())
+ " - " + std::to_string(settings.maxBuildJobs) + " 1");
return;
}

0 comments on commit cc85208

Please sign in to comment.