1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 20:48:20 +00:00

Use buffersize to reduce database connection when iterate (#2724)

* use buffersize to reduce database connection when iterate

* fix typo

* add default value on app.ini comment
This commit is contained in:
Lunny Xiao
2017-10-21 14:26:23 +08:00
committed by GitHub
parent 2112eb8741
commit 985a39590b
7 changed files with 19 additions and 15 deletions

2
conf/app.ini vendored
View File

@@ -184,6 +184,8 @@ SSL_MODE = disable
PATH = data/gitea.db
; For "sqlite3" only. Query timeout
SQLITE_TIMEOUT = 500
; For iterate buffer, default is 50
ITERATE_BUFFER_SIZE = 50
[indexer]
ISSUE_INDEXER_PATH = indexers/issues.bleve