]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: increase the http.maxRequestBuffer to 100MB
authorXiubo Li <xiubli@redhat.com>
Wed, 7 Aug 2024 03:43:10 +0000 (11:43 +0800)
committerVenky Shankar <vshankar@redhat.com>
Thu, 9 Jan 2025 12:03:43 +0000 (17:33 +0530)
Set to change the largest ref negotiation request that git will
handle during a fetch. The default value is 10MB and any fetch
requiring a larger buffer will not succeed.

This value should not normally need to be changed, but may be
helpful if you are fetching from a repository with an extremely
large number of refs.

Fixes: https://tracker.ceph.com/issues/66991
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 1d25782903e8b43fc97bc19ab3bf033196ec2122)

qa/workunits/fs/snaps/snaptest-git-ceph.sh

index 2b38720c9a5781e2fd394037150ceb646f3807f3..4104f3c65e7218d2f36a11c58afd3a736d3bd535 100755 (executable)
@@ -4,7 +4,9 @@ set -e
 
 # increase the cache size
 sudo git config --global http.sslVerify false
-sudo git config --global http.postBuffer 1048576000
+sudo git config --global http.postBuffer 1024MB # default is 1MB
+sudo git config --global http.maxRequestBuffer 100M # default is 10MB
+sudo git config --global core.compression 0
 
 # try it again if the clone is slow and the second time
 retried=false