Skip to content

Commit

Permalink
Update Sources/Sentry/SentrySessionReplayIntegration.m
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin authored Nov 7, 2024
1 parent 930c619 commit 0f63554
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Sentry/SentrySessionReplayIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ @implementation SentrySessionReplayIntegration {
SentryNSNotificationCenterWrapper *_notificationCenter;
SentryOnDemandReplay *_resumeReplayMaker;
id<SentryRateLimits> _rateLimits;
// We need to use this variable to identify whether rate limiting was ever activated for session replay in this session, instead of always looking for the rate status in `SentryRateLimits`
// This is the easiest way to ensure segment 0 will always reach the server, because session replay absolutely needs segment 0 to make replay work.
BOOL _rateLimited;
}

Expand Down

0 comments on commit 0f63554

Please sign in to comment.