queryMissing(): Use a bigger thread pool

This is a temporary hack until we make queryMissing() async.

Closes #5324.
This commit is contained in:
Eelco Dolstra
2021-12-13 21:11:37 +01:00
parent ade870764a
commit 95bd5da341
+3 -1
View File
@@ -7,6 +7,7 @@
#include "topo-sort.hh"
#include "callback.hh"
#include "closure.hh"
#include "filetransfer.hh"
namespace nix {
@@ -100,7 +101,8 @@ void Store::queryMissing(const std::vector<DerivedPath> & targets,
downloadSize_ = narSize_ = 0;
ThreadPool pool;
// FIXME: make async.
ThreadPool pool(fileTransferSettings.httpConnections);
struct State
{