aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-21 21:33:14 +0100
committereldritch horrors <pennae@lix.systems>2024-03-31 00:07:09 +0000
commit862f20a4ba4a917e3442db2963e7f75bd7f567bf (patch)
tree4d9a876a002f0360dbc89da48b1801fe0eb69bfc /src/libstore
parent620de98d0ce8d6a9207a6a54c7fc66cfa55f7797 (diff)
libutil: remove Pool::flushBad
this was never actually used, and bad design in the first place—why should a bad resource be put back into the idle pool? just drop it. Change-Id: Idab8774bee19dadae0209d404c4fb86dd4aeba1e
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/remote-store.cc5
-rw-r--r--src/libstore/remote-store.hh2
2 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index f0dbe8e21..20c1c50f2 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -940,11 +940,6 @@ std::optional<TrustedFlag> RemoteStore::isTrustedClient()
return conn->remoteTrustsUs;
}
-void RemoteStore::flushBadConnections()
-{
- connections->flushBad();
-}
-
RemoteStore::Connection::~Connection()
{
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index f0985fdc1..0cae81e16 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -161,8 +161,6 @@ public:
std::optional<TrustedFlag> isTrustedClient() override;
- void flushBadConnections();
-
struct Connection;
ref<Connection> openConnectionWrapper();