Skip to content

Commit d2a274a

Browse files
committed
Merge branch 'dk/raise-core-deltabasecachelimit'
The `core.deltabasecachelimit` used to default to 16 MiB , but this proved to be too small, and has been bumped to 96 MiB. * dk/raise-core-deltabasecachelimit: Bump core.deltaBaseCacheLimit to 96m
2 parents 7461a3e + 4874f54 commit d2a274a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ core.deltaBaseCacheLimit::
489489
to avoid unpacking and decompressing frequently used base
490490
objects multiple times.
491491
+
492-
Default is 16 MiB on all platforms. This should be reasonable
492+
Default is 96 MiB on all platforms. This should be reasonable
493493
for all users/operating systems, except on the largest projects.
494494
You probably do not need to adjust this value.
495495
+

environment.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ int core_compression_seen;
3737
int fsync_object_files;
3838
size_t packed_git_window_size = DEFAULT_PACKED_GIT_WINDOW_SIZE;
3939
size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT;
40-
size_t delta_base_cache_limit = 16 * 1024 * 1024;
40+
size_t delta_base_cache_limit = 96 * 1024 * 1024;
4141
unsigned long big_file_threshold = 512 * 1024 * 1024;
4242
const char *pager_program;
4343
int pager_use_color = 1;

0 commit comments

Comments
 (0)