mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 05:35:58 +00:00
Merge pull request #8417 from ThomasWaldmann/ids-per-chunk
increase IDS_PER_CHUNK, fixes #6945
This commit is contained in:
commit
fd1a7ddb76
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
MAX_SEGMENT_SIZE_LIMIT = 2**32 - MAX_OBJECT_SIZE
|
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?
|
# 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
|
# have one all-zero bytes object
|
||||||
# we use it at all places where we need to detect or create all-zero buffers
|
# we use it at all places where we need to detect or create all-zero buffers
|
||||||
|
|
Loading…
Reference in a new issue