Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Don't block on sending envelopes (ureq/curl transports) #701

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

pjenvey
Copy link
Contributor

@pjenvey pjenvey commented Oct 23, 2024

This is a followup to #546 (for #543):

Any transport is susceptible to #543, where sending too many events (or even potentially due to network hiccups) to Sentry can block. So the thread::TransportThread impl should similarly drop events instead of blocking, just as the similar tokio_thread::TransportThread began doing with the fix in #546.

@pjenvey pjenvey force-pushed the fix/thread-transport-dont-block branch from e4b5636 to 6648b7c Compare October 23, 2024 22:42
@pjenvey
Copy link
Contributor Author

pjenvey commented Oct 28, 2024

@Swatinem or @viglia could you get this merged? Thank you!

@Swatinem Swatinem merged commit 1b65b5c into getsentry:master Oct 29, 2024
14 checks passed
pjenvey added a commit to mozilla-services/syncstorage-rs that referenced this pull request Oct 29, 2024
pjenvey added a commit to mozilla-services/syncstorage-rs that referenced this pull request Oct 29, 2024
pjenvey added a commit to mozilla-services/syncstorage-rs that referenced this pull request Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants