mirror of
https://github.com/restic/restic.git
synced 2025-08-14 04:27:42 +00:00
repository: Increase index size for repo version 2
A compressed index is only about one third the size of an uncompressed one. Thus increase the number of entries in an index to avoid cluttering the repository with small indexes.
This commit is contained in:
@@ -367,7 +367,7 @@ func TestRepositoryIncrementalIndex(t *testing.T) {
|
||||
|
||||
repo := r.(*repository.Repository)
|
||||
|
||||
repository.IndexFull = func(*repository.Index) bool { return true }
|
||||
repository.IndexFull = func(*repository.Index, bool) bool { return true }
|
||||
|
||||
// add 15 packs
|
||||
for j := 0; j < 5; j++ {
|
||||
|
Reference in New Issue
Block a user