diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2017-06-15 04:51:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 04:51:17 +0200 |
commit | bf48c8ebdd3975d1090115a9106069796c67a6da (patch) | |
tree | 3c9d34ea632511d339e8cac16d3502bd9dc374ff /conf | |
parent | 31b5e9177f7c0ddcdb97e667f0634fdd13a8d59b (diff) | |
download | gitea-bf48c8ebdd3975d1090115a9106069796c67a6da.tar.gz gitea-bf48c8ebdd3975d1090115a9106069796c67a6da.zip |
SQLite has a query timeout. Hopefully fixes most 'database locked' errors (#1961)
* SQLite has a query timeout. Fixes 'database locked' errors
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index 07164c2719..29f7015c07 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -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 |