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
Idle transaction refactoring #3988
Idle transaction refactoring #3988
Conversation
d3c5c18
to
d0e7ad7
Compare
ff24d8e
to
efff4c0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good changes, thanks for the improvements.
@@ -232,14 +234,12 @@ export class IdleTransaction extends Transaction { | |||
* If this occurs we finish the transaction. | |||
*/ | |||
private _beat(): void { | |||
clearTimeout(this._heartbeatTimer); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I’m wondering why we had this clear timeout logic in the first place 🤔
My pleasure! Was looking trying to figure out why all our transactions result in failed heartbeats despite the long idle timeout setting and refactored along the way. Still not sure why, will continue investigating though. |
cc @AbhiPrasad
Before submitting a pull request, please take a look at our
Contributing guidelines and verify:
yarn lint
) & (yarn test
).