mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-06 14:33:10 -06:00
Err()...
This commit is contained in:
parent
1f723362c0
commit
43ac98dfbe
|
|
@ -295,7 +295,7 @@ func (oq *destinationQueue) checkNotificationsOnClose() {
|
||||||
// backgroundSend is the worker goroutine for sending events.
|
// backgroundSend is the worker goroutine for sending events.
|
||||||
func (oq *destinationQueue) backgroundSend() {
|
func (oq *destinationQueue) backgroundSend() {
|
||||||
// Don't try to send transactions if we are shutting down.
|
// Don't try to send transactions if we are shutting down.
|
||||||
if oq.process.Context() != nil {
|
if oq.process.Context().Err() != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Check if a worker is already running, and if it isn't, then
|
// Check if a worker is already running, and if it isn't, then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue