Enable SQLite WAL mode for better concurrent access.

This commit is contained in:
ben
2026-08-12 18:31:37 +02:00
parent 386b15ce94
commit accb721811
+3 -3
View File
@@ -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',
],