mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-05 00:29:56 +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()
|
go hub.Run()
|
||||||
|
|
||||||
h.channels[channel] = hub
|
h.channels[channel] = hub
|
||||||
|
logging.Errorf("Starting new hub, there are %d hubs in total", len(h.channels))
|
||||||
}
|
}
|
||||||
|
|
||||||
return hub
|
return hub
|
||||||
|
Loading…
Reference in New Issue
Block a user