aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2020-03-09 19:56:18 +0000
committerGitHub <noreply@github.com>2020-03-09 19:56:18 +0000
commit9269b7f6271e865f2eeda7a68ed8f1afe7431bad (patch)
tree9b42ddac5ee366a08b9450848b8c40e40846b9b5 /custom
parent3fc4f3670cb748e02d786111d2029ef1e23a9640 (diff)
downloadgitea-9269b7f6271e865f2eeda7a68ed8f1afe7431bad.tar.gz
gitea-9269b7f6271e865f2eeda7a68ed8f1afe7431bad.zip
Multiple LFS improvements (#10667)
* Add more logging in the LFS server Adds more logging in the LFS server and stops sending internal server error information to the client * Add LFS Lock cursor implementation * Simplify Claims in LFS and remove the float64 casts Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.ini.sample2
1 files changed, 2 insertions, 0 deletions
diff --git a/custom/conf/app.ini.sample b/custom/conf/app.ini.sample
index 7fd6028319..f83f06bc60 100644
--- a/custom/conf/app.ini.sample
+++ b/custom/conf/app.ini.sample
@@ -313,6 +313,8 @@ LFS_JWT_SECRET =
LFS_HTTP_AUTH_EXPIRY = 20m
; Maximum allowed LFS file size in bytes (Set to 0 for no limit).
LFS_MAX_FILE_SIZE = 0
+; Maximum number of locks returned per page
+LFS_LOCKS_PAGING_NUM = 50
; Allow graceful restarts using SIGHUP to fork
ALLOW_GRACEFUL_RESTARTS = true
; After a restart the parent will finish ongoing requests before