Skip to content

Commit

Permalink
Further limit bundles-per-entry in FlatFileIndex (#57457)
Browse files Browse the repository at this point in the history
The previous limit of 50 was performing well enough, but reducing that
size further is also a good idea.
  • Loading branch information
Swatinem authored Oct 4, 2023
1 parent fb5e888 commit a00454b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/debug_files/artifact_bundle_indexing.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def update_artifact_bundle_index(
# We have seen (legitimate) uploads with over 25_000 unique files.
MAX_URLS_PER_INDEX = 75_000
# Some highly joint bundles will have thousands of bundles matching a file
MAX_BUNDLES_PER_ENTRY = 50
MAX_BUNDLES_PER_ENTRY = 20


Bundles = List[BundleMeta]
Expand Down

0 comments on commit a00454b

Please sign in to comment.