From a00454b21e67171de77b9d6b1976da875fba9fd1 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Wed, 4 Oct 2023 13:50:14 +0200 Subject: [PATCH] Further limit bundles-per-entry in FlatFileIndex (#57457) The previous limit of 50 was performing well enough, but reducing that size further is also a good idea. --- src/sentry/debug_files/artifact_bundle_indexing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sentry/debug_files/artifact_bundle_indexing.py b/src/sentry/debug_files/artifact_bundle_indexing.py index 76ed9590f7abf6..fe5b4107b1747b 100644 --- a/src/sentry/debug_files/artifact_bundle_indexing.py +++ b/src/sentry/debug_files/artifact_bundle_indexing.py @@ -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]