diff options
| author | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-05-02 23:13:08 +0100 |
|---|---|---|
| committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2026-05-02 23:13:08 +0100 |
| commit | af422b45c7fb406dae35dc3f811e50d92e854f58 (patch) | |
| tree | 274a865c94f2352b1d93ae6261b90f118a0bf5f8 /test/testing-util.cpp | |
| parent | 4675ab65ea5e807e0d457845a0ca84edcf1262c9 (diff) | |
| download | webstat-af422b45c7fb406dae35dc3f811e50d92e854f58.tar.bz2 webstat-af422b45c7fb406dae35dc3f811e50d92e854f58.tar.xz webstat-af422b45c7fb406dae35dc3f811e50d92e854f58.zip | |
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.
Diffstat (limited to 'test/testing-util.cpp')
| -rw-r--r-- | test/testing-util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<PQ::Mock>("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 |
