From 3f5bbd17b4424bab6e4f714b25d06711a082d3b8 Mon Sep 17 00:00:00 2001 From: danielfazzo0406-sudo Date: Mon, 22 Sep 2025 17:08:57 +0200 Subject: [PATCH] Update database.md `DB_SQLITE_POOL_SIZE` | Number | `2` | --- docs/hosting/configuration/environment-variables/database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hosting/configuration/environment-variables/database.md b/docs/hosting/configuration/environment-variables/database.md index 953734ab7e1..e4aed8c7ab6 100644 --- a/docs/hosting/configuration/environment-variables/database.md +++ b/docs/hosting/configuration/environment-variables/database.md @@ -46,5 +46,5 @@ This page outlines environment variables to configure your chosen database for y | Variable | Type | Default | Description | | :------- | :---- | :------- | :---------- | -| `DB_SQLITE_POOL_SIZE` | Number | `0` | Controls whether to open the SQLite file in [WAL mode](https://www.sqlite.org/wal.html) or [rollback journal mode](https://www.sqlite.org/lockingv3.html#rollback). Uses rollback journal mode when set to zero. When greater than zero, uses WAL mode with the value determining the number of parallel SQL read connections to configure. WAL mode is much more performant and reliable than the rollback journal mode. | +| `DB_SQLITE_POOL_SIZE` | Number | `2` | Controls whether to open the SQLite file in [WAL mode](https://www.sqlite.org/wal.html) or [rollback journal mode](https://www.sqlite.org/lockingv3.html#rollback). Uses rollback journal mode when set to zero. When greater than zero, uses WAL mode with the value determining the number of parallel SQL read connections to configure. WAL mode is much more performant and reliable than the rollback journal mode. | | `DB_SQLITE_VACUUM_ON_STARTUP` | Boolean | `false` | Runs [VACUUM](https://www.sqlite.org/lang_vacuum.html) operation on startup to rebuild the database. Reduces file size and optimizes indexes. This is a long running blocking operation and increases start-up time. |