1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

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