Skip to content

Commit

Permalink
increase IDS_PER_CHUNK, fixes #6945
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Sep 25, 2024
1 parent 67b62b5 commit 015e3a4
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 015e3a4

Please sign in to comment.