Remove logging from the client

This commit is contained in:
James Mills 2022-03-19 14:47:08 +10:00
parent d625ee1fc3
commit 6df82dc484
No known key found for this signature in database
GPG Key ID: AC4C014F1440EBD6

View File

@ -237,14 +237,10 @@ func (s *Subscriber) connect() {
conn, _, err := websocket.DefaultDialer.Dial(s.url, nil)
if err != nil {
log.Warnf("error connecting to %s: %s", s.url, err)
log.Infof("reconnecting in %s", d)
time.Sleep(d)
continue
}
log.Infof("successfully connected to %s", s.url)
s.Lock()
s.conn = conn
s.closeWriteChan = make(chan bool, 1)