mirror of
https://github.com/dpup/meshstream.git
synced 2026-03-28 17:42:37 +01:00
go fmt
This commit is contained in:
@@ -112,8 +112,8 @@ func (c *Client) Connect() error {
|
||||
opts.SetKeepAlive(time.Duration(keepAlive) * time.Second)
|
||||
opts.SetConnectTimeout(connectTimeout)
|
||||
opts.SetPingTimeout(pingTimeout)
|
||||
opts.SetConnectRetryInterval(1 * time.Second) // Start with 1 second retry
|
||||
opts.SetMaxReconnectInterval(1 * time.Minute) // Cap at 1 minute instead of 5
|
||||
opts.SetConnectRetryInterval(1 * time.Second) // Start with 1 second retry
|
||||
opts.SetMaxReconnectInterval(1 * time.Minute) // Cap at 1 minute instead of 5
|
||||
opts.SetAutoReconnect(true)
|
||||
opts.SetCleanSession(true)
|
||||
opts.SetOrderMatters(false)
|
||||
|
||||
Reference in New Issue
Block a user