MCPcopy
hub / github.com/tinode/chat / stopMultiplexingSession

Method stopMultiplexingSession

server/cluster.go:458–466  ·  view source on GitHub ↗
(msess *Session)

Source from the content-addressed store, hash-verified

456}
457
458func (n *ClusterNode) stopMultiplexingSession(msess *Session) {
459 if msess == nil {
460 return
461 }
462 msess.stopSession(nil)
463 n.lock.Lock()
464 delete(n.msess, msess.sid)
465 n.lock.Unlock()
466}
467
468// TopicMaster is a gRPC endpoint which receives requests sent by proxy topic to master topic.
469func (c *Cluster) TopicMaster(msg *ClusterReq, rejected *bool) error {

Callers 1

TopicMasterMethod · 0.80

Calls 3

stopSessionMethod · 0.80
LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected