Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Correct QOS level at which retained messages may be delivered before subscribe called.
  • Loading branch information
MattBrittan authored Dec 25, 2020
1 parent 54b5153 commit 413a07c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ identifier; this is as per the [spec](https://docs.oasis-open.org/mqtt/mqtt/v3.1
* A `MessageHandler` (called when a new message is received) must not block. If you wish to perform a long-running task,
or publish a message, then please use a go routine (blocking in the handler is a common cause of unexpected `pingresp
not received, disconnecting` errors).
* When subscribing at QOS2 with `CleanSession` set to false it is possible that the broker will deliver retained
* When subscribing at QOS1+ with `CleanSession` set to false it is possible that the broker will deliver retained
messages before `Subscribe` can be called. To process these messages either configure a handler with `AddRoute` or
set a `DefaultPublishHandler`.
* Loss of network connectivity may not be detected immediately. If this is an issue then consider setting
Expand Down

0 comments on commit 413a07c

Please sign in to comment.