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:
Kim "BKC" Carlbäcker authored and GitHub committed 2017-06-15 04:51:17 +02:00
1 parent 31b5e9177f
commit bf48c8ebdd
2 files changed
+5 -1

No files matched your search

+2
View File
@@ -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