diff options
author | Norwin <noerw@users.noreply.github.com> | 2022-07-30 21:57:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 21:57:41 +0200 |
commit | 8a330b6b5b7154ce06f5b6695df403e4c8e9f102 (patch) | |
tree | ad35e26ccd678986b68e4d0bff8b27e9c2b761d6 /custom | |
parent | ae3dde1c873320abba49c0cf58c6c87c78cfe334 (diff) | |
download | gitea-8a330b6b5b7154ce06f5b6695df403e4c8e9f102.tar.gz gitea-8a330b6b5b7154ce06f5b6695df403e4c8e9f102.zip |
Add setting `SQLITE_JOURNAL_MODE` to enable WAL (#20535)
Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/conf/app.example.ini | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini index 0870894894..1c6a7e3b7c 100644 --- a/custom/conf/app.example.ini +++ b/custom/conf/app.example.ini @@ -313,6 +313,7 @@ USER = root ;DB_TYPE = sqlite3 ;PATH= ; defaults to data/gitea.db ;SQLITE_TIMEOUT = ; Query timeout defaults to: 500 +;SQLITE_JOURNAL_MODE = ; defaults to sqlite database default (often DELETE), can be used to enable WAL mode. https://www.sqlite.org/pragma.html#pragma_journal_mode ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; |