From af422b45c7fb406dae35dc3f811e50d92e854f58 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 2 May 2026 23:13:08 +0100 Subject: Start curl operations from any thread Ingest is now background only, so don't limit where they're started from. Adds some unfortunate locking around the curl maps. --- test/testing-util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/testing-util.cpp') diff --git a/test/testing-util.cpp b/test/testing-util.cpp index 9e5a6af..141940a 100644 --- a/test/testing-util.cpp +++ b/test/testing-util.cpp @@ -6,7 +6,7 @@ namespace WebStat { MockDB::MockDB() : DB::PluginMock("webstat", {SRC_DIR / "schema.sql"}, "user=postgres dbname=postgres") { } - MockDBPool::MockDBPool(std::string poolName) : DB::BasicConnectionPool(1, 1), name {std::move(poolName)} { } + MockDBPool::MockDBPool(std::string poolName) : DB::BasicConnectionPool(2, 1), name {std::move(poolName)} { } DB::ConnectionPtr MockDBPool::createResource() const -- cgit v1.3