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(sharded): expectedResponseCount in fetchSockets() #523

Merged
merged 1 commit into from Feb 19, 2024

Conversation

MartinKolarik
Copy link
Contributor

If fetchSockets() is called shortly after the adapter was initialized, the server count may still return 0, causing this to fail with timeout reached: only 0 responses received out of -1.

The problem is handled correctly in the regular adapter, so using the same approach here.

@darrachequesne darrachequesne merged commit bd32763 into socketio:main Feb 19, 2024
2 checks passed
@darrachequesne
Copy link
Member

Thanks 👍

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.

None yet

2 participants