mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Increase sqlite busy timeout
This commit is contained in:
parent
25e84f2f5d
commit
49aaff2bbe
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public abstract class Database implements AutoCloseable {
|
||||||
|
|
||||||
private static HikariDataSource getHikariDataSource(final String databaseFile) {
|
private static HikariDataSource getHikariDataSource(final String databaseFile) {
|
||||||
final var sqliteConfig = new SQLiteConfig();
|
final var sqliteConfig = new SQLiteConfig();
|
||||||
sqliteConfig.setBusyTimeout(10_000);
|
sqliteConfig.setBusyTimeout(60_000);
|
||||||
sqliteConfig.setTransactionMode(SQLiteConfig.TransactionMode.IMMEDIATE);
|
sqliteConfig.setTransactionMode(SQLiteConfig.TransactionMode.IMMEDIATE);
|
||||||
|
|
||||||
HikariConfig config = new HikariConfig();
|
HikariConfig config = new HikariConfig();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue