5 is too low, try 10
This commit is contained in:
parent
c97454e828
commit
674f9ccd59
@ -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};
|
||||
|
Loading…
x
Reference in New Issue
Block a user