Skip to content

Commit 1a95c89

Browse files
committed
adjust cache key
1 parent 29f6f79 commit 1a95c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/event_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def _set_project_platform_if_needed(project: Project, event: Event) -> None:
707707

708708
# Use a lock to prevent race conditions when multiple events are processed
709709
# concurrently for a project with no initial platform
710-
cache_key = f"project-platform-cache:{project.id}:{event.platform}"
710+
cache_key = f"project-platform-cache:{project.id}"
711711
lock_key = f"project-platform-lock:{project.id}"
712712
if cache.get(cache_key) is not None:
713713
return

0 commit comments

Comments
 (0)