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 the ack message issue when MapHub for the same hub is called multiple times #2021

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

vicancy
Copy link
Member

@vicancy vicancy commented Aug 13, 2024

Fix #2003

It is possible that the multiple MapHub calls the same hub, so that ack messages could be received by another instance of ServiceConnectionContainer

Use the ack handler singleton to allow ack message to be acked by another container instance

@vwxyzh
Copy link
Contributor

vwxyzh commented Aug 14, 2024

whats behavior of standalone signalr?

  • Two separated hubs with same methods?
  • One hub with two paths?

@vicancy
Copy link
Member Author

vicancy commented Aug 14, 2024

Self-host signalr shares the hub with 2 endpoints. We keep the same behavior.

@vicancy vicancy enabled auto-merge (squash) August 14, 2024 09:02
@vicancy vicancy merged commit 08d0ffa into Azure:dev Aug 15, 2024
11 checks passed
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.

AddToGroupAsync throws a TimeoutException exception when MapHub is called twice for the same hub
2 participants