From f6a2ef8f3c6891a3d346c616fb6a2860a70ae8ca Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sat, 8 Feb 2025 16:52:19 -0600 Subject: [PATCH] Slightly decrease delay from 1.5 to 1.4 --- 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 53946e7..e791ffd 100644 --- a/cpp/db_common.cpp +++ b/cpp/db_common.cpp @@ -32,7 +32,7 @@ static std::atomic thread_id_counter{1}; static QString shared_database_path; static int get_delay(int attempt) { - return 10 * static_cast(std::pow(1.5, attempt - 1)); + return 10 * static_cast(std::pow(1.4, attempt - 1)); } QSqlDatabase get_thread_connection() {