mirror of
https://github.com/restic/restic.git
synced 2026-07-14 19:24:53 +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:
@@ -1470,7 +1470,7 @@ func TestRebuildIndexAlwaysFull(t *testing.T) {
|
||||
defer func() {
|
||||
repository.IndexFull = indexFull
|
||||
}()
|
||||
repository.IndexFull = func(*repository.Index) bool { return true }
|
||||
repository.IndexFull = func(*repository.Index, bool) bool { return true }
|
||||
testRebuildIndex(t, nil)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user