Skip to content

Conversation

spaced4ndy
Copy link
Collaborator

No description provided.

atomically (totalSize aq pq) `shouldReturn` (4, 4)
M.keys <$> readTVarIO (RQ.getConnections aq) `shouldReturn` []
M.keys <$> readTVarIO (RQ.getConnections pq) `shouldReturn` ["c1", "c2", "c3", "c4"]
-- M.keys prevActive `shouldMatchList` [(0, "smp://1234-w==@alpha", ""), (0, "smp://1234-w==@alpha", "")]
Copy link
Collaborator Author

@spaced4ndy spaced4ndy Jul 5, 2024

Choose a reason for hiding this comment

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

see qKey rq = (userId rq, server rq, connId rq) in TRcvQueues.hs - why does it use connId and not rcvId? couldn't this cause some bug in case of redundant queues?

Copy link
Member

Choose a reason for hiding this comment

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

interesting

@spaced4ndy spaced4ndy marked this pull request as ready for review July 5, 2024 17:48
@spaced4ndy spaced4ndy requested a review from epoberezkin as a code owner July 5, 2024 17:48
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.

2 participants