1
0
Fork 0
forked from forgejo/forgejo

Add setting SQLITE_JOURNAL_MODE to enable WAL (#20535)

Co-authored-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
Norwin 2022-07-30 21:57:41 +02:00 committed by GitHub
parent ae3dde1c87
commit 8a330b6b5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -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
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;