diff --git a/api/client.go b/api/client.go index 02b35b34a5a29a831d34b11a2490817b8cba45bf..9068708d01307030a811065b810588d8614b677c 100644 --- a/api/client.go +++ b/api/client.go @@ -230,6 +230,7 @@ func Login(storageDir string, password []byte, parameters params.Network) (*Clie if def.Notification.Address != "" { hp := connect.GetDefaultHostParams() hp.AuthEnabled = false + hp.MaxRetries = 5 _, err = c.comms.AddHost(&id.NotificationBot, def.Notification.Address, []byte(def.Notification.TlsCertificate), hp) if err != nil { jww.WARN.Printf("Failed adding host for notifications: %+v", err)