diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-10-21 08:26:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-21 08:26:23 +0200 |
commit | 985a39590ba07798dd6e6097e0c10401764c27fb (patch) | |
tree | 2f33eb1355da1561a7d74b32806e21f08da73dc3 /conf/app.ini | |
parent | Update vendor github.com/lib/pq (#2752) (diff) | |
download | forgejo-985a39590ba07798dd6e6097e0c10401764c27fb.tar.xz forgejo-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/app.ini')
-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 |