Skip to content

Commit a5ab965

Browse files
committed
Tune the object cache based on science™️
1 parent 6817e48 commit a5ab965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/info/repo.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ impl<'a> Repo<'a> {
4646

4747
// assure that objects we just traversed are coming from cache
4848
// when we read the commit right after.
49-
repo.object_cache_size(128 * 1024);
49+
repo.object_cache_size(32 * 1024);
5050

5151
let mut time_of_most_recent_commit = None;
5252
let mut time_of_first_commit = None;

0 commit comments

Comments
 (0)