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

Startup timeout fixes #2080

Merged
merged 2 commits into from
Sep 27, 2024
Merged

Startup timeout fixes #2080

merged 2 commits into from
Sep 27, 2024

Conversation

lemnik
Copy link
Contributor

@lemnik lemnik commented Sep 27, 2024

Goal

Use a reasonable timeout for startup crash delivery in cases when Bugsnag.start is called long after the app start.

Changeset

If the startup crash synchronous timeout would be <=0 we revert to the old behavior and block for up-to a full 2 seconds.

Testing

Relied on the existing tests being more reliable.

…livery to handle cases where the app start has completed before Bugsnag.start is called
@bugsnagbot
Copy link
Collaborator

Android notifier sizes

Format Size impact of Bugsnag (kB) Size impact of Bugsnag when Minified (kB)
APK 1854.01 1674.71
arm64_v8a 631.04 450.82
armeabi_v7a 565.51 385.29
x86 708.85 528.62
x86_64 676.09 495.86

Generated by 🚫 Danger

Copy link
Contributor

@YYChen01988 YYChen01988 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lemnik lemnik merged commit 8074d55 into next Sep 27, 2024
34 checks passed
@lemnik lemnik deleted the lemnik/startup-timeout-fixes branch September 27, 2024 09:46
@lemnik lemnik mentioned this pull request Sep 30, 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.

4 participants