From accb7218119d601e1e4873979857ce73f1fc6137 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 12 Aug 2026 18:31:37 +0200 Subject: [PATCH] Enable SQLite WAL mode for better concurrent access. --- config/database.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/database.php b/config/database.php index abbb88e..c90b026 100644 --- a/config/database.php +++ b/config/database.php @@ -38,9 +38,9 @@ return [ 'database' => env('DB_DATABASE', database_path('database.sqlite')), 'prefix' => '', 'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true), - 'busy_timeout' => null, - 'journal_mode' => null, - 'synchronous' => null, + 'busy_timeout' => 5000, + 'journal_mode' => 'WAL', + 'synchronous' => 'NORMAL', 'transaction_mode' => 'DEFERRED', ],