Skip to content

Commit

Permalink
fix(otlp-exporter-base): decrease default concurrency limit to 30 (op…
Browse files Browse the repository at this point in the history
…en-telemetry#4211)

* fix(otlp-exporter-base): decrease concurrency limit to 30

* fix(changelog): add changelog entry
  • Loading branch information
pichlermarc authored and rdeavila94 committed Jan 3, 2024
1 parent db315fe commit 76ba009
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ For experimental package changes, see the [experimental CHANGELOG](experimental/

### :boom: Breaking Change

* fix(otlp-exporter-base)!: decrease default concurrency limit to 30 [#4211](https://github.com/open-telemetry/opentelemetry-js/pull/4211) @pichlermarc
* fixes a memory leak on prolonged collector unavailability
* this change is marked as breaking as it changes defaults

### :rocket: (Enhancement)

### :books: (Refine Doc)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export abstract class OTLPExporterBase<
this._concurrencyLimit =
typeof config.concurrencyLimit === 'number'
? config.concurrencyLimit
: Infinity;
: 30;

this.timeoutMillis = configureExporterTimeout(config.timeoutMillis);

Expand Down

0 comments on commit 76ba009

Please sign in to comment.