style: remove unnecessary log messages in WebSocket listener
This commit is contained in:
parent
1fcf3fde0f
commit
f7421128a0
1 changed files with 0 additions and 2 deletions
|
|
@ -280,11 +280,9 @@ func (c *OneBotChannel) buildSendRequest(msg bus.OutboundMessage) (string, inter
|
|||
}
|
||||
|
||||
func (c *OneBotChannel) listen() {
|
||||
logger.InfoC("onebot", "WebSocket listener started")
|
||||
for {
|
||||
select {
|
||||
case <-c.ctx.Done():
|
||||
logger.InfoC("onebot", "WebSocket listener stopping (context cancelled)")
|
||||
return
|
||||
default:
|
||||
c.mu.Lock()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue