File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ export type BatchEventProcessorConfig = {
6262
6363type EventBatch = {
6464 request : LogEvent ,
65- // ids: string[],
6665 events : EventWithId [ ] ,
6766}
6867
@@ -146,7 +145,6 @@ export class BatchEventProcessor extends BaseService implements EventProcessor {
146145 ( currentBatch . length > 0 && ! areEventContextsEqual ( currentBatch [ 0 ] . event , event . event ) ) ) {
147146 batches . push ( {
148147 request : buildLogEvent ( currentBatch . map ( ( e ) => e . event ) ) ,
149- // ids: currentBatch.map((e) => e.id),
150148 events : currentBatch ,
151149 } ) ;
152150 currentBatch = [ ] ;
@@ -157,7 +155,6 @@ export class BatchEventProcessor extends BaseService implements EventProcessor {
157155 if ( currentBatch . length > 0 ) {
158156 batches . push ( {
159157 request : buildLogEvent ( currentBatch . map ( ( e ) => e . event ) ) ,
160- // ids: currentBatch.map((e) => e.id),
161158 events : currentBatch ,
162159 } ) ;
163160 }
@@ -198,7 +195,6 @@ export class BatchEventProcessor extends BaseService implements EventProcessor {
198195 const { request, events } = batch ;
199196
200197 events . forEach ( ( event ) => {
201- // this.dispatchingEventIds.add(id);
202198 this . dispatchingEvents . set ( event . id , event ) ;
203199 } ) ;
204200
You can’t perform that action at this time.
0 commit comments