Skip to content

Commit

Permalink
Merge pull request #8417 from ThomasWaldmann/ids-per-chunk
Browse files Browse the repository at this point in the history
increase IDS_PER_CHUNK, fixes #6945
  • Loading branch information
ThomasWaldmann authored Sep 25, 2024
2 parents 67b62b5 + 015e3a4 commit fd1a7dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/borg/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd1a7dd

Please sign in to comment.