Skip to content

feat: auto recover on disconnect#1687

Merged
jonathanlab merged 1 commit intomainfrom
auto-recover-on-disconnect
Apr 16, 2026
Merged

feat: auto recover on disconnect#1687
jonathanlab merged 1 commit intomainfrom
auto-recover-on-disconnect

Conversation

@jonathanlab
Copy link
Copy Markdown
Contributor

Closes #1563

@jonathanlab jonathanlab requested review from a team and charlesvien April 16, 2026 12:47
} from "@utils/session";

const log = logger.scope("session-service");
const LOCAL_SESSION_RECONNECT_ATTEMPTS = 3;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have observed any attempt at reconnect that failed? Not saying we don't need a counter here, just curios

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Mostly a safety net after coming up from sleep with other resources not being ready, bit of a guess since I don't really have a proof for it :)

@jonathanlab jonathanlab enabled auto-merge (squash) April 16, 2026 12:48
@jonathanlab jonathanlab merged commit 174edba into main Apr 16, 2026
15 checks passed
@jonathanlab jonathanlab deleted the auto-recover-on-disconnect branch April 16, 2026 12:54
vdekrijger pushed a commit that referenced this pull request Apr 16, 2026
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.

Stop showing the session restart screen

2 participants