Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Swatinem committed Jul 18, 2023
1 parent abb5cdf commit b3d0208
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sentry/lang/native/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b3d0208

Please sign in to comment.