mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 15:44:01 +03:00
Stats management utilities
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ func (p *Proxy) Serve() error {
|
||||
|
||||
func (p *Proxy) accept(conn net.Conn) {
|
||||
connID := uuid.NewV4().String()
|
||||
log := zap.S().With("connection_id", connID)
|
||||
log := zap.S().With("connection_id", connID).Named("main")
|
||||
|
||||
defer func() {
|
||||
conn.Close()
|
||||
|
||||
Reference in New Issue
Block a user