mirror of
https://github.com/AynaLivePlayer/blivedm-go.git
synced 2025-12-06 19:32:49 +08:00
🎨 reconnect log
This commit is contained in:
@@ -80,6 +80,7 @@ func (c *Client) listen() {
|
||||
default:
|
||||
msgType, data, err := c.conn.ReadMessage()
|
||||
if err != nil {
|
||||
log.Info("reconnect")
|
||||
time.Sleep(time.Duration(3) * time.Millisecond)
|
||||
_ = c.Connect()
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user