MCPcopy Create free account
hub / github.com/daodst/chat / RetryServer

Method RetryServer

federationapi/queue/queue.go:328–335  ·  view source on GitHub ↗

RetryServer attempts to resend events to the given server if we had given up.

(srv gomatrixserverlib.ServerName)

Source from the content-addressed store, hash-verified

326
327// RetryServer attempts to resend events to the given server if we had given up.
328func (oqs *OutgoingQueues) RetryServer(srv gomatrixserverlib.ServerName) {
329 if oqs.disabled {
330 return
331 }
332 if queue := oqs.getQueue(srv); queue != nil {
333 queue.wakeQueueIfNeeded()
334 }
335}

Callers 1

MarkServersAliveMethod · 0.80

Calls 2

getQueueMethod · 0.95
wakeQueueIfNeededMethod · 0.80

Tested by

no test coverage detected