mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
MQTT SetOrderMatters(false)
This commit is contained in:
@@ -110,6 +110,7 @@ func (c *Client) Connect() error {
|
||||
opts.SetMaxReconnectInterval(maxReconnectTime)
|
||||
opts.SetAutoReconnect(true)
|
||||
opts.SetCleanSession(true)
|
||||
opts.SetOrderMatters(false)
|
||||
opts.OnConnect = c.connectHandler
|
||||
opts.OnConnectionLost = c.connectionLostHandler
|
||||
opts.OnReconnecting = c.reconnectingHandler
|
||||
|
||||
Reference in New Issue
Block a user