Skip to content

Commit

Permalink
Implemented sized channel with size -1
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-sili committed Jan 13, 2025
1 parent b92dff6 commit d73a4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/exporterhelper/internal/base_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func NewBaseExporter(set exporter.Settings, signal pipeline.Signal, osf ObsrepSe

if usePullingBasedExporterQueueBatcher.IsEnabled() && be.BatcherCfg.Enabled && !be.queueCfg.Enabled {
be.queueFactory = exporterqueue.NewBlockingMemoryQueueFactory[internal.Request]()
be.queueCfg.QueueSize = 20
be.queueCfg.QueueSize = -1
q := be.queueFactory(
context.Background(),
exporterqueue.Settings{
Expand Down

0 comments on commit d73a4fc

Please sign in to comment.