We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b0b2fd commit 3b1e23aCopy full SHA for 3b1e23a
src/libstore/remote-store.cc
@@ -28,7 +28,7 @@ RemoteStore::RemoteStore(const Params & params)
28
: RemoteStoreConfig(params)
29
, Store(params)
30
, connections(make_ref<Pool<Connection>>(
31
- std::max(1, (int) maxConnections),
+ std::max(1, maxConnections.get()),
32
[this]() {
33
auto conn = openConnectionWrapper();
34
try {
0 commit comments