We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da241ac commit e586a59Copy full SHA for e586a59
1 file changed
Sources/Swift/Integrations/SessionReplay/SentryReplayNetworkDetails.swift
@@ -197,8 +197,10 @@ enum NetworkBodyWarning: String {
197
198
// MARK: - Constants
199
200
- /// Maximum body size in bytes before truncation (150KB).
201
- static let maxBodySize = 150 * 1_024
+ /// Maximum body size in bytes before truncation.
+ /// Mirrors `NETWORK_BODY_MAX_SIZE` from sentry-javascript's replay-internal:
202
+ /// https://github.com/getsentry/sentry-javascript/blob/399cc859ce250ba5db3656685bd05794f571bee5/packages/replay-internal/src/constants.ts#L33
203
+ static let maxBodySize = 150_000
204
205
/// Key used to store network details in breadcrumb data dictionary.
206
@objc public static let replayNetworkDetailsKey = "_networkDetails"
0 commit comments