Merge pull request #8417 from ThomasWaldmann/ids-per-chunk

increase IDS_PER_CHUNK, fixes #6945
This commit is contained in:
TW 2024-09-25 22:48:16 +02:00 committed by GitHub
commit fd1a7ddb76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -64,7 +64,7 @@
MAX_SEGMENT_SIZE_LIMIT = 2**32 - MAX_OBJECT_SIZE
# how many metadata stream chunk ids do we store into a "pointer chunk" of the ArchiveItem.item_ptrs list?
IDS_PER_CHUNK = 3 # MAX_DATA_SIZE // 40
IDS_PER_CHUNK = MAX_DATA_SIZE // 40
# have one all-zero bytes object
# we use it at all places where we need to detect or create all-zero buffers