Fix buggy context
This commit is contained in:
parent
e69ffba5ae
commit
566466cca9
|
@ -302,7 +302,7 @@ func (r *Room) HandleConn(ctx context.Context, nickname string, c *websocket.Con
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx = ctxlog.With(ctx, zap.String("method", string(note.Method)))
|
ctx := ctxlog.With(ctx, zap.String("method", string(note.Method)))
|
||||||
|
|
||||||
r.lastSeen.Store(time.Now())
|
r.lastSeen.Store(time.Now())
|
||||||
metricReceived.Inc()
|
metricReceived.Inc()
|
||||||
|
|
Loading…
Reference in New Issue