This repository has been archived by the owner on Jan 8, 2024. It is now read-only.
forked from enableiot/iotanalytics-websocket-server
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: The websocket server is registering for every device the 'acc…
…ountId/deviceId' channel at redis. Unfortunatley, Redis is sending all broadcast to all instances. So if for instance two devices are registered, both routines get the request to send the command. This leads to duplications of command messages. This patch adds filtering to avoid duplication of several messages and only the addressed subroutine is answering. Signed-off-by: Marcel Wagner <[email protected]>
- Loading branch information
1 parent
4b29a45
commit 7d0a3c9
Showing
4 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters