Correct QueueNotification comment.
This comment incorrectly said QueueMessage instead of QueueNotification.
This commit is contained in:
parent
6248dd5e5d
commit
6a8b806a20
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ func (c *wsClient) SendMessage(marshalledJSON []byte, doneChan chan bool) {
|
||||||
// to the client having already been disconnected or dropped.
|
// to the client having already been disconnected or dropped.
|
||||||
var ErrClientQuit = errors.New("client quit")
|
var ErrClientQuit = errors.New("client quit")
|
||||||
|
|
||||||
// QueueMessage queues the passed notification to be sent to the websocket
|
// QueueNotification queues the passed notification to be sent to the websocket
|
||||||
// client. This function, as the name implies, is only intended for
|
// client. This function, as the name implies, is only intended for
|
||||||
// notifications since it has additional logic to prevent other subsystems, such
|
// notifications since it has additional logic to prevent other subsystems, such
|
||||||
// as the memory pool and block manager, from blocking even when the send
|
// as the memory pool and block manager, from blocking even when the send
|
||||||
|
|
Loading…
Reference in a new issue