Slightly decrease delay from 1.5 to 1.4
This commit is contained in:
parent
ae22b08ad7
commit
f6a2ef8f3c
@ -32,7 +32,7 @@ static std::atomic<unsigned int> thread_id_counter{1};
|
|||||||
static QString shared_database_path;
|
static QString shared_database_path;
|
||||||
|
|
||||||
static int get_delay(int attempt) {
|
static int get_delay(int attempt) {
|
||||||
return 10 * static_cast<int>(std::pow(1.5, attempt - 1));
|
return 10 * static_cast<int>(std::pow(1.4, attempt - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
QSqlDatabase get_thread_connection() {
|
QSqlDatabase get_thread_connection() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user