-
Notifications
You must be signed in to change notification settings - Fork 39
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(server): fix response to other node #240
Conversation
DEV-1977 Ensure that botpress sending answer to other messaging server still works
If messaging node 1 is connected to a socket, and it sends a message to a runtime, and this runtime answers on messaging node 2, this node can't send the message to the socket connected on node 1. So we need to have pub sub with redis to solve this. |
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.
Nice work as usual. I think there is some refactor needed, but it could be done in another PR.
This PR fixes a situation in converse or websocket where sending a response message to a node other than the node where the converse request was made or where the websocket is connected would result in the response being lost.
Closes DEV-1977