Skip to content

gitconfig: added unpacklimit = 1

Son Luong Ngoc requested to merge sluongng/omnibus-gitlab:master into master

See #5248

Reducing unpacklimit value to 1 (from the default 100) should help speed up git fetch(in case of fetching from upstream mirror) and git receive-pack (in case of handling a git push).

In both case, instead of unpacking the pack objects into loose objects so later we can re-pack them during maintenance operations (gc / repack), we just store the pack objects as-is and repack them later.

This should improve the speed which we need to write onto NFS as it will be 1 single write vs the multiple writes(up to 100 according to default settings) every pack received.

Merge request reports