mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 16:20:13 +01:00
feat: investigate memory leak
This commit is contained in:
parent
9aab6dbd02
commit
5db753eb31
@ -62,6 +62,7 @@ func (h *ConnectionHandler) getHub(channel string) *Hub {
|
||||
go hub.Run()
|
||||
|
||||
h.channels[channel] = hub
|
||||
logging.Errorf("Starting new hub, there are %d hubs in total", len(h.channels))
|
||||
}
|
||||
|
||||
return hub
|
||||
|
Loading…
Reference in New Issue
Block a user