IdleTransaction's finalTimeout
will exceed when the app is in background
#3150
Closed
1 task done
finalTimeout
will exceed when the app is in background
#3150
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: