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() {
|
func (c *OneBotChannel) listen() {
|
||||||
logger.InfoC("onebot", "WebSocket listener started")
|
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
case <-c.ctx.Done():
|
case <-c.ctx.Done():
|
||||||
logger.InfoC("onebot", "WebSocket listener stopping (context cancelled)")
|
|
||||||
return
|
return
|
||||||
default:
|
default:
|
||||||
c.mu.Lock()
|
c.mu.Lock()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue