From 49aaff2bbe1ec6ed6cdbd26200ec806c46b16489 Mon Sep 17 00:00:00 2001 From: AsamK Date: Sat, 29 Oct 2022 13:54:06 +0200 Subject: [PATCH] Increase sqlite busy timeout --- .../main/java/org/asamk/signal/manager/storage/Database.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/org/asamk/signal/manager/storage/Database.java b/lib/src/main/java/org/asamk/signal/manager/storage/Database.java index a55a8eed..3d0d9374 100644 --- a/lib/src/main/java/org/asamk/signal/manager/storage/Database.java +++ b/lib/src/main/java/org/asamk/signal/manager/storage/Database.java @@ -90,7 +90,7 @@ public abstract class Database implements AutoCloseable { private static HikariDataSource getHikariDataSource(final String databaseFile) { final var sqliteConfig = new SQLiteConfig(); - sqliteConfig.setBusyTimeout(10_000); + sqliteConfig.setBusyTimeout(60_000); sqliteConfig.setTransactionMode(SQLiteConfig.TransactionMode.IMMEDIATE); HikariConfig config = new HikariConfig();