diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:18:34 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:18:34 -0700 |
commit | d2a274aa87d69786aa95da2f2eab88aa6b77644f (patch) | |
tree | f4569bebed6e4dbd98fa838ab24bd85e9bc81901 | |
parent | Merge branch 'tl/relax-in-poll-emulation' (diff) | |
parent | Bump core.deltaBaseCacheLimit to 96m (diff) | |
download | tgif-d2a274aa87d69786aa95da2f2eab88aa6b77644f.tar.xz |
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
-rw-r--r-- | Documentation/config.txt | 2 | ||||
-rw-r--r-- | environment.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 9c4ceb3c27..a33c087cb4 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -489,7 +489,7 @@ core.deltaBaseCacheLimit:: to avoid unpacking and decompressing frequently used base objects multiple times. + -Default is 16 MiB on all platforms. This should be reasonable +Default is 96 MiB on all platforms. This should be reasonable for all users/operating systems, except on the largest projects. You probably do not need to adjust this value. + diff --git a/environment.c b/environment.c index 5c4815dbe1..37354c8d05 100644 --- a/environment.c +++ b/environment.c @@ -37,7 +37,7 @@ int core_compression_seen; int fsync_object_files; size_t packed_git_window_size = DEFAULT_PACKED_GIT_WINDOW_SIZE; size_t packed_git_limit = DEFAULT_PACKED_GIT_LIMIT; -size_t delta_base_cache_limit = 16 * 1024 * 1024; +size_t delta_base_cache_limit = 96 * 1024 * 1024; unsigned long big_file_threshold = 512 * 1024 * 1024; const char *pager_program; int pager_use_color = 1; |