File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
packages/replay-internal/src/util Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ async function _addEvent(
54
54
event : RecordingEvent ,
55
55
isCheckout ?: boolean ,
56
56
) : Promise < AddEventResult | null > {
57
- if ( ! replay . eventBuffer || ( replay . eventBuffer . waitForCheckout && ! isCheckout ) ) {
57
+ if ( ! replay . eventBuffer ) {
58
+ // || (replay.eventBuffer.waitForCheckout && !isCheckout)) {
58
59
return null ;
59
60
}
60
61
@@ -83,13 +84,13 @@ async function _addEvent(
83
84
const isExceeded = error && error instanceof EventBufferSizeExceededError ;
84
85
const reason = isExceeded ? 'addEventSizeExceeded' : 'addEvent' ;
85
86
86
- if ( isExceeded && isBufferMode ) {
87
- // Clear buffer and wait for next checkout
88
- replay . eventBuffer . clear ( ) ;
89
- replay . eventBuffer . waitForCheckout = true ;
90
-
91
- return null ;
92
- }
87
+ // if (isExceeded && isBufferMode) {
88
+ // // Clear buffer and wait for next checkout
89
+ // replay.eventBuffer.clear();
90
+ // replay.eventBuffer.waitForCheckout = true;
91
+ //
92
+ // return null;
93
+ // }
93
94
94
95
replay . handleException ( error ) ;
95
96
You can’t perform that action at this time.
0 commit comments