5 is too low, try 10

This commit is contained in:
Simon Quigley 2025-01-27 01:30:53 -06:00
parent c97454e828
commit 674f9ccd59

View File

@ -27,7 +27,7 @@
#include <QString>
// 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<unsigned int> thread_id_counter{1};