Skip to content

Commit

Permalink
add buffer to event channel
Browse files Browse the repository at this point in the history
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
  • Loading branch information
Kavindu-Dodan committed Jan 31, 2024
1 parent e07700e commit b1d3aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfeature/event_executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func newEventExecutor(logger logr.Logger) *eventExecutor {
apiRegistry: map[EventType][]EventCallback{},
scopedRegistry: map[string]scopedCallback{},
logger: logger,
eventChan: make(chan eventPayload, 1),
eventChan: make(chan eventPayload, 5),
}

executor.startEventListener()
Expand Down

0 comments on commit b1d3aad

Please # to comment.