]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add note on SQLite WAL
authorNick Porter <nick@portercomputing.co.uk>
Wed, 2 Jul 2025 09:50:34 +0000 (10:50 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 2 Jul 2025 09:50:34 +0000 (10:50 +0100)
raddb/mods-config/sql/main/sqlite/schema.sql

index ed542a44d1756210e85f5703622f5e3d76b5f836..27306dc77486fc394df0cb594305d5e8e171f7ae 100644 (file)
@@ -7,6 +7,13 @@
 --                                                                         --
 -----------------------------------------------------------------------------
 
+--
+-- To aid performance in a multi-threaded system so that reads are not
+-- blocked by writes, consider using the write-ahead log
+-- https://www.sqlite.org/wal.html
+--
+-- PRAGMA journal_mode=WAL;
+
 --
 -- Table structure for table 'radacct'
 --