File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
common/src/internal/events Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ export default class EventProcessor implements LDEventProcessor {
130130 baseHeaders : LDHeaders ,
131131 private readonly contextDeduplicator ?: LDContextDeduplicator ,
132132 private readonly diagnosticsManager ?: DiagnosticsManager ,
133+ start : boolean = true ,
133134 ) {
134135 this . capacity = config . eventsCapacity ;
135136 this . logger = clientContext . basicConfiguration . logger ;
@@ -139,6 +140,10 @@ export default class EventProcessor implements LDEventProcessor {
139140 config . allAttributesPrivate ,
140141 config . privateAttributes . map ( ( ref ) => new AttributeReference ( ref ) ) ,
141142 ) ;
143+
144+ if ( start ) {
145+ this . start ( ) ;
146+ }
142147 }
143148
144149 start ( ) {
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ const createEventProcessor = (
1616 baseHeaders ,
1717 undefined ,
1818 diagnosticsManager ,
19+ false ,
1920 ) ;
2021 }
2122
You can’t perform that action at this time.
0 commit comments