fix(gerrit): tinker a bit with gerrit defaults for transfer & caching
We had some issues in the past with too many packfiles and timeout during transfers, let's try to provide a bit of relief in bad scenarios. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
cfc24abfe1
commit
8c35dfa8e0
|
@ -111,14 +111,16 @@ in
|
||||||
|
|
||||||
receive.timeout = "4min";
|
receive.timeout = "4min";
|
||||||
# Default is 0, infinite.
|
# Default is 0, infinite.
|
||||||
transfer.timeout = "30min";
|
# When system is under pressure and there's too many packfiles
|
||||||
|
# the search for reuse can take a stupid amount of time.
|
||||||
|
transfer.timeout = "60min";
|
||||||
|
|
||||||
# We may overshoot but it's OK.
|
# We may overshoot but it's OK.
|
||||||
core.packedGitWindowSize = "256k";
|
core.packedGitWindowSize = "256k";
|
||||||
# Sum of all current packfiles is ~1.2G
|
# Sum of all current packfiles is ~1.2G
|
||||||
# Largest packfile is 906MB.
|
# Largest packfile is 906MB.
|
||||||
# Average packfile is ~5-10MB.
|
# Average packfile is ~5-10MB.
|
||||||
core.packedGitLimit = "1g";
|
core.packedGitLimit = "2g";
|
||||||
# We have plenty of memory, let's avoid file system cache → Gerrit needless copies.
|
# We have plenty of memory, let's avoid file system cache → Gerrit needless copies.
|
||||||
core.packedGitUseStrongRefs = true;
|
core.packedGitUseStrongRefs = true;
|
||||||
core.packedGitOpenFiles = 4096;
|
core.packedGitOpenFiles = 4096;
|
||||||
|
|
Loading…
Reference in a new issue