You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-27 22:49:15 +02:00
Clamp batch size <= queue size (#5157)
This commit is contained in:
@@ -198,6 +198,7 @@ func newBatchingConfig(options []BatchingOption) batchingConfig {
|
||||
clearLessThanOne[int](),
|
||||
getenv[int](envarExpMaxBatchSize),
|
||||
clearLessThanOne[int](),
|
||||
clampMax[int](c.maxQSize.Value),
|
||||
fallback[int](dfltExpMaxBatchSize),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user