Merge branch 'ps/odb-geometric-repack-loose-threshold'
The threshold for geometric repacking to trigger based on loose object count has been adjusted to match that of 'git gc --auto', preventing over-aggressive repacking during concurrent writes. * ps/odb-geometric-repack-loose-threshold: odb/files: be less aggressive with geometric repackingmain
commit
93f737d51b
|
|
@ -101,7 +101,7 @@ maintenance.geometric-repack.auto::
|
|||
there are packfiles that need to be merged together to retain the
|
||||
geometric progression, or when there are at least this many loose
|
||||
objects that would be written into a new packfile. The default value is
|
||||
100.
|
||||
6700.
|
||||
|
||||
maintenance.geometric-repack.splitFactor::
|
||||
This integer config option controls the factor used for the geometric
|
||||
|
|
|
|||
|
|
@ -553,7 +553,7 @@ bool odb_source_files_optimize_required(struct odb_source *source,
|
|||
};
|
||||
struct existing_packs existing_packs = EXISTING_PACKS_INIT;
|
||||
struct string_list kept_packs = STRING_LIST_INIT_DUP;
|
||||
int auto_value = 100;
|
||||
int auto_value = 6700;
|
||||
bool ret;
|
||||
|
||||
repo_config_get_int(repo, "maintenance.geometric-repack.auto",
|
||||
|
|
|
|||
Loading…
Reference in New Issue