From 674f9ccd59db131b13ec445528cb5506946b7087 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 27 Jan 2025 01:30:53 -0600 Subject: [PATCH] 5 is too low, try 10 --- cpp/db_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/db_common.cpp b/cpp/db_common.cpp index 4f3fbdc..6aca616 100644 --- a/cpp/db_common.cpp +++ b/cpp/db_common.cpp @@ -27,7 +27,7 @@ #include // get_thread_connection and init_database -constexpr int MAX_CONNECTIONS = 5; +constexpr int MAX_CONNECTIONS = 10; static std::mutex connection_mutex_; static std::condition_variable connection_cv_; static std::atomic thread_id_counter{1};