Skip to content

Navigation Menu

Sign in
Sign up

feat(core): Make transport channel capacity configurable - #1311

Draft
szokeasaurusrex wants to merge 1 commit into
master from
szokeasaurusrex/transport-channel-capacity
Draft

feat(core): Make transport channel capacity configurable #1311
szokeasaurusrex wants to merge 1 commit into
master from
szokeasaurusrex/transport-channel-capacity

Conversation

@szokeasaurusrex

@szokeasaurusrex szokeasaurusrex commented Sep 1, 2026

Copy link
Copy Markdown
Member

The transport channel previously had a hardcoded capacity of 30, which can saturate in high-throughput scenarios, causing envelopes to be dropped.

Add a transport_channel_capacity option to ClientOptions, propagated to transports via TransportOptions. When unset, each transport uses its own default (currently 30, subject to change). A capacity of 0 is clamped to 1 with a debug message.

Closes #994
Closes RUST-149

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

github-actions Bot commented Sep 1, 2026
edited
Loading

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 0b76b66

szokeasaurusrex force-pushed the szokeasaurusrex/transport-channel-capacity branch from f8a2e9a to 79cdaf5 Compare September 1, 2026 12:44
szokeasaurusrex requested review from Litarnus and giortzisg and removed request for Litarnus and giortzisg September 1, 2026 12:46
szokeasaurusrex force-pushed the szokeasaurusrex/transport-channel-capacity branch 3 times, most recently from 659a6b9 to 8910502 Compare September 1, 2026 15:23
The transport channel previously had a hardcoded capacity of 30, which can saturate in high-throughput scenarios, causing envelopes to be dropped.
Add a `transport_channel_capacity` option to `ClientOptions`, propagated to transports via `TransportOptions`. When unset, each transport uses its own default (currently 30, subject to change). A capacity of `0` is clamped to `1` with a debug message.
Closes [#994](#994)
Closes [RUST-149](https://linear.app/getsentry/issue/RUST-149/make-transport-channel-capacity-configurable)
szokeasaurusrex force-pushed the szokeasaurusrex/transport-channel-capacity branch from 8910502 to 0b76b66 Compare September 4, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Make transport channel capacity configurable

1 participant

AltStyle によって変換されたページ (->オリジナル) /