Update vendoring to dep from gdm (#4314)

This commit is contained in:
Greg
2018-06-19 12:55:38 -06:00
committed by Daniel Nelson
parent d7c756e9ff
commit 1bd41ef3ce
18 changed files with 1245 additions and 121 deletions

View File

@@ -184,7 +184,7 @@ func (m *MQTT) publish(topic string, body []byte) error {
func (m *MQTT) createOpts() (*paho.ClientOptions, error) {
opts := paho.NewClientOptions()
opts.KeepAlive = 0 * time.Second
opts.KeepAlive = 0
if m.Timeout.Duration < time.Second {
m.Timeout.Duration = 5 * time.Second