Skip to content

Commit

Permalink
Mqtt: disable message ordering to improve performance
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Jun 7, 2023
1 parent b88e145 commit 39a404c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provider/mqtt/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ func NewClient(log *util.Logger, broker, user, password, clientID string, qos by
options.SetOnConnectHandler(mc.ConnectionHandler)
options.SetConnectionLostHandler(mc.ConnectionLostHandler)
options.SetConnectTimeout(request.Timeout)
options.SetOrderMatters(false)

if insecure {
options.SetTLSConfig(&tls.Config{InsecureSkipVerify: true})
Expand Down

0 comments on commit 39a404c

Please sign in to comment.