index: reduce size of compressed indexes
use the same index size for compressed and uncompressed indexes. Otherwise, decoding the index of a compressed repository requires significantly more memory.
This commit is contained in:
parent
77873f5a9d
commit
462b82a060
5 changed files with 10 additions and 30 deletions
|
@ -376,7 +376,7 @@ func TestRepositoryIncrementalIndex(t *testing.T) {
|
|||
func testRepositoryIncrementalIndex(t *testing.T, version uint) {
|
||||
repo, _ := repository.TestRepositoryWithVersion(t, version)
|
||||
|
||||
index.IndexFull = func(*index.Index, bool) bool { return true }
|
||||
index.IndexFull = func(*index.Index) bool { return true }
|
||||
|
||||
// add a few rounds of packs
|
||||
for j := 0; j < 5; j++ {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue