-
Notifications
You must be signed in to change notification settings - Fork 420
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle exceptions broadcasting WS messages gracefully
If an exception occurs whilst processing an NSQ message in the WebSocket server, log the exception and continue on to the next message. Since there is a single greenlet iterating over all NSQ messages that might result in a WebSocket broadcast, an error processing one message would previously cause all subsequent WS broadcasts to cease.
- Loading branch information
1 parent
b146a60
commit de473f8
Showing
2 changed files
with
17 additions
and
4 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