Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: enhance websocket stability and error handling#39

Open
haseeb5555 wants to merge 4 commits intoupstash:main from
haseeb5555:main
Open

fix: enhance websocket stability and error handling #39
haseeb5555 wants to merge 4 commits intoupstash:main from
haseeb5555:main

Conversation

@haseeb5555
Copy link

@haseeb5555 haseeb5555 commented Feb 8, 2025

This PR includes several reliability improvements:

  • Add timeout and retry mechanism for stargazers action
  • Fix memory leak in websocket implementation
  • Fix table of content state issues
  • Enhance Redis pub/sub with proper error handling and timeouts

Testing:

  • Verified websocket connections properly close
  • Confirmed Redis operations now timeout after 5s
  • Tested table of content state updates

onConnect: () => {},
onError: () => {},
onError: (error: Error) => console.error("WebSocket error:", error),
onDisconnect: () => socket.reconnect(),
Copy link
Contributor

@ving-34 ving-34 Mar 4, 2025

Choose a reason for hiding this comment

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

reconnect is not a method on the ClientSocket class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@ving-34 ving-34 ving-34 requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /