Skip to content

Commit

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

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

* fix(changelog): add changelog entry
  • Loading branch information
pichlermarc committed Dec 13, 2023
1 parent dddab06 commit af4f7a9
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 af4f7a9

Please sign in to comment.