Skip to content

Commit

Permalink
Revert "mq options"
Browse files Browse the repository at this point in the history
This reverts commit 10b93d0.
  • Loading branch information
abhishek9686 committed Nov 21, 2024
1 parent 10b93d0 commit db5d306
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mq/mq.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ func setMqOptions(user, password string, opts *mqtt.ClientOptions) {
opts.SetAutoReconnect(true)
opts.SetConnectRetry(true)
opts.SetCleanSession(true)
opts.SetConnectRetryInterval(time.Second * 3)
opts.SetKeepAlive(120 * time.Second)
opts.SetPingTimeout(30 * time.Second)
opts.SetConnectRetryInterval(time.Second * 1)
opts.SetKeepAlive(time.Second * 10)
opts.SetOrderMatters(false)
opts.SetWriteTimeout(time.Minute)
}
Expand Down

0 comments on commit db5d306

Please sign in to comment.