-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Investigate SDK back pressure issues #2360
Comments
fyi, the real example could lead up to 75 api calls due to heavy retries (for example with bad internet connection) |
Looking at the code, we do drop the envelopes due to back pressure, but this is probably happening too late, as we only do this before calling sentry-dart/dart/lib/src/sentry_client.dart Line 634 in 136c365
We could either move this to an earlier place in the processing queue, or introduce additional measured, like the mentioned debounce for the screenshot widget. The latter is probably a good addition anyway. |
Description
A user reported that calling sentry capture methods in fast succession is leading to issues, especially with screenshot integration.
Investigate if calling the SDK mehods in tight loops can be improved. One idea was to introduce a debounce for screenshots.
The text was updated successfully, but these errors were encountered: