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:
parent
31b5e9177f
commit
bf48c8ebdd
2 changed files with 5 additions and 1 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue