-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
agent: move subscriptions to pending when reconnecting servers #1220
base: master
Are you sure you want to change the base?
Conversation
tests/CoreTests/TRcvQueuesTests.hs
Outdated
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", "")] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting
No description provided.