17 Commits

Author SHA1 Message Date
f6a2ef8f3c Slightly decrease delay from 1.5 to 1.4 2025-02-08 16:52:19 -06:00
9233c8d810 Add missing include 2025-02-08 01:40:26 -06:00
f08b3ee199 Fix compilation warning 2025-02-04 00:57:19 -06:00
b94ec17fd3 Further refinements to thread_db initialization 2025-01-27 18:14:24 -06:00
9e6a0b0453 Initialize thread_db within the loop 2025-01-27 17:51:52 -06:00
9c7c91dac9 Retry on parameter count mismatch as well 2025-01-27 17:50:02 -06:00
fb1d5e4340 Add another try/catch 2025-01-27 12:58:31 -06:00
b618bf0932 Try to do exponential backoff with get_thread_connection too 2025-01-27 00:34:46 -06:00
8b55525646 Decrease exponential backoff further 2025-01-26 20:26:04 -06:00
f3bd66b872 Lower exponential backoff initial value even further 2025-01-25 23:59:41 -06:00
e39e2d4c49 Always consolidate the WAL file and VACUUM to start 2025-01-25 23:03:27 -06:00
a43739dfeb Lower exponential delay 10x 2025-01-25 15:56:25 -06:00
296f37262d Also use exponential backoff for a locked db in the initial database schema, and support passing a QString to exec() 2025-01-25 15:18:34 -06:00
6e12e28cd7 Invert passed check, this broke all queries, whoops 2025-01-25 13:17:07 -06:00
966bdcd1cb Centralize exec() in db_common for gradual backoff retries 2025-01-25 13:11:03 -06:00
8dc972b4de Move the database initialization to db_common 2025-01-25 12:40:39 -06:00
775e5bddb7 Centralize the database thread connection code 2025-01-24 23:50:40 -06:00