-
-
Notifications
You must be signed in to change notification settings - Fork 333
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
IdleTransaction's finalTimeout
will exceed when the app is in background
#3150
Closed
1 task done
Comments
3 tasks
related JS issue: getsentry/sentry-javascript#8504 |
Browser JS is experiencing the exact same issue, but instead of the app going to the background the browser tab JS execution is paused by the Browser, we should fix this in JS SDK. |
Fixed by JS getsentry/sentry-javascript#8653 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In RN the JS thread gets paused when the app goes to the background. Scheduled tasks like JS timeouts that would be executed during the time in the background will get executed after reopening the app. If the scheduled task was a Tx final timeout this can cause a Transaction that is hours/days long.
Solution
Since
finalTimeout
marks the length of Tx that can't be exceeded I think we should adjust the length of the transaction in this case.Related issues
The text was updated successfully, but these errors were encountered: