Skip to content

Commit

Permalink
chore: Format SRIntegration (#4515)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann authored Nov 7, 2024
1 parent 84640bd commit 66d0583
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Sources/Sentry/SentrySessionReplayIntegration.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ @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.
// 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 66d0583

Please sign in to comment.