Replies: 2 comments
-
Are you seeing an issue or just reading the code? The code checks what groups the connection is already in and either adds it to the group or not depending on that. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Continuing at #22751 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
src/SignalR/server/StackExchangeRedis/src/RedisHubLifetimeManager.cs
The AddToGroupAsync in the RedisHubLifeTimeManager does not allow adding new connections to existing group.
Please let me know how do i navigate past this issue.
Below method is called from AddToGroupAsync. The condition If(groups.Add(groupName)) does not allow to add connection to existing groups.
private Task AddGroupAsyncCore(HubConnectionContext connection, string groupName)
{
var feature = connection.Features.Get();
var groupNames = feature.Groups;
t
Beta Was this translation helpful? Give feedback.
All reactions