From b3d0208674597c1517a4e1a189a0ac558a726fb6 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Tue, 18 Jul 2023 11:55:32 +0200 Subject: [PATCH] add comment --- src/sentry/lang/native/sources.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sentry/lang/native/sources.py b/src/sentry/lang/native/sources.py index 0dba3cac14452a..52a984bf6a5efc 100644 --- a/src/sentry/lang/native/sources.py +++ b/src/sentry/lang/native/sources.py @@ -168,6 +168,10 @@ def get_internal_source(project: Project): ) if last_upload := get_last_upload(project.id): + # Adding a random query string parameter here makes sure that the + # Symbolicator-internal `list_files` cache that is querying this API + # is not being hit. This means that uploads will be immediately visible + # to Symbolicator, and not depending on its internal cache TTL. sentry_source_url += f"?_last_upload={last_upload}" return {