mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 14:54:01 +03:00
Add new stats metric
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ func (c *connection) write(packet conntypes.Packet) error {
|
||||
func (c *connection) shutdown() {
|
||||
c.shutdownOnce.Do(func() {
|
||||
close(c.done)
|
||||
c.hub.channelBrokenSockets <- c.id
|
||||
c.hub.channelBrokenSockets <- c.id
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,6 @@ package hub
|
||||
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"time"
|
||||
|
||||
"github.com/9seconds/mtg/conntypes"
|
||||
|
||||
Reference in New Issue
Block a user