diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-21 14:26:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 14:26:23 +0800 |
commit | 985a39590ba07798dd6e6097e0c10401764c27fb (patch) | |
tree | 2f33eb1355da1561a7d74b32806e21f08da73dc3 /conf | |
parent | 2112eb87414fb0a08d77ad018ca306cfd15d5761 (diff) | |
download | gitea-985a39590ba07798dd6e6097e0c10401764c27fb.tar.gz gitea-985a39590ba07798dd6e6097e0c10401764c27fb.zip |
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
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 471a4046f4..6524486b82 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -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 |