mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 04:28:21 +00:00
SQLite has a query timeout. Hopefully fixes most 'database locked' errors (#1961)
* SQLite has a query timeout. Fixes 'database locked' errors
This commit is contained in:
committed by
GitHub
parent
31b5e9177f
commit
bf48c8ebdd
2
conf/app.ini
vendored
2
conf/app.ini
vendored
@@ -166,6 +166,8 @@ PASSWD =
|
||||
SSL_MODE = disable
|
||||
; For "sqlite3" and "tidb", use absolute path when you start as service
|
||||
PATH = data/gitea.db
|
||||
; For "sqlite3" only. Query timeout
|
||||
SQLITE_TIMEOUT = 500
|
||||
|
||||
[indexer]
|
||||
ISSUE_INDEXER_PATH = indexers/issues.bleve
|
||||
|
Reference in New Issue
Block a user