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

fix: node crashes after computer sleep #1823

Merged
merged 1 commit into from
Sep 2, 2024
Merged

fix: node crashes after computer sleep #1823

merged 1 commit into from
Sep 2, 2024

Conversation

abose
Copy link
Member

@abose abose commented Sep 2, 2024

Fixes #1791

Node exited after sleep as web sockets gets disconnected at sleep, and our orphan exit timer will inccorectly determine that too much time has passed including the time the app was asleep and terminated node.

We dont need orpahn exit timers anymore as node is terminated oon stdio disconnect, which is a much more reliable way to detect process exit. We did not remove this code at node connector as it maybe a miss during the algo change?

@phoenixide
Copy link
Member

Thank You for making this pull request.

Copy link

sonarcloud bot commented Sep 2, 2024

@abose abose merged commit ba5800d into main Sep 2, 2024
16 of 17 checks passed
@abose abose deleted the w branch September 2, 2024 09:09
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.

Stability: Node crash on computer sleep - below our stability target
2 participants