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

Function ErrLockedReply

server/datamodel.go:1719–1721  ·  view source on GitHub ↗

ErrLockedReply operation rejected because the topic is being deleted in response to a client request (503).

(msg *ClientComMessage, ts time.Time)

Source from the content-addressed store, hash-verified

1717// ErrLockedReply operation rejected because the topic is being deleted in response
1718// to a client request (503).
1719func ErrLockedReply(msg *ClientComMessage, ts time.Time) *ServerComMessage {
1720 return ErrLockedExplicitTs(msg.Id, msg.Original, ts, msg.Timestamp)
1721}
1722
1723// ErrLockedExplicitTs operation rejected because the topic is being deleted
1724// with explicit server and incoming request timestamps (503).

Callers 5

topicInitFunction · 0.85
runProxyMethod · 0.85
runMethod · 0.85
registerSessionMethod · 0.85
handleLeaveRequestMethod · 0.85

Calls 1

ErrLockedExplicitTsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…