@@ -4,7 +4,7 @@ import { captureException, getCurrentHub } from '@sentry/core';
44import type { Breadcrumb , ReplayRecordingMode } from '@sentry/types' ;
55import { logger } from '@sentry/utils' ;
66
7- import { ERROR_CHECKOUT_TIME , MAX_SESSION_LIFE , SESSION_IDLE_DURATION , WINDOW } from './constants' ;
7+ import { BUFFER_CHECKOUT_TIME , MAX_SESSION_LIFE , SESSION_IDLE_DURATION , WINDOW } from './constants' ;
88import { setupPerformanceObserver } from './coreHandlers/performanceObserver' ;
99import { createEventBuffer } from './eventBuffer' ;
1010import { clearSession } from './session/clearSession' ;
@@ -152,7 +152,6 @@ export class ReplayContainer implements ReplayContainerInterface {
152152 }
153153
154154 /**
155- <<<<<<< HEAD
156155 * Get the experimental options.
157156 * THIS IS INTERNAL AND SUBJECT TO CHANGE!
158157 * @hidden
@@ -204,9 +203,6 @@ export class ReplayContainer implements ReplayContainerInterface {
204203 /**
205204 * Start a replay regardless of sampling rate. Calling this will always
206205 * create a new session. Will throw an error if replay is already in progress.
207- =======
208- * Initializes the plugin.
209- >>>>>>> develop
210206 *
211207 * Creates or loads a session, attaches listeners to varying events (DOM,
212208 * _performanceObserver, Recording, Sentry SDK, etc)
@@ -275,7 +271,7 @@ export class ReplayContainer implements ReplayContainerInterface {
275271 // When running in error sampling mode, we need to overwrite `checkoutEveryNms`
276272 // Without this, it would record forever, until an error happens, which we don't want
277273 // instead, we'll always keep the last 60 seconds of replay before an error happened
278- ...( this . recordingMode === 'buffer' && { checkoutEveryNms : ERROR_CHECKOUT_TIME } ) ,
274+ ...( this . recordingMode === 'buffer' && { checkoutEveryNms : BUFFER_CHECKOUT_TIME } ) ,
279275 emit : getHandleRecordingEmit ( this ) ,
280276 onMutation : this . _onMutationHandler ,
281277 } ) ;
0 commit comments