Remove logging from the client
This commit is contained in:
parent
d625ee1fc3
commit
6df82dc484
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue