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

NWC: keep checking for intact connection and reconnect if not #136

Open
callebtc opened this issue May 12, 2024 · 1 comment
Open

NWC: keep checking for intact connection and reconnect if not #136

callebtc opened this issue May 12, 2024 · 1 comment

Comments

@callebtc
Copy link
Collaborator

Needs a worker that keeps checking the connection (except if NWC has some kind of auto reconnect).

@cjbeery24
Copy link
Collaborator

@callebtc Pretty sure there is already reconnect logic built into NWC. See the relay connectivity here:
https://github.com/nostr-dev-kit/ndk/blob/6db7f705c87d2f3b62cdffcf6ff209f892818fcc/ndk/src/relay/connectivity.ts#L93

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

No branches or pull requests

2 participants