Un-goroutine the goroutines
This commit is contained in:
parent
478374e5d1
commit
aee933f878
|
@ -353,7 +353,6 @@ func (oq *destinationQueue) nextTransaction(
|
|||
// If we didn't get anything from the database and there are no
|
||||
// pending EDUs then there's nothing to do - stop here.
|
||||
if len(pdus) == 0 && len(pendingEDUs) == 0 {
|
||||
log.Warnf("Expected PDUs/EDUs for destination %q but got none", oq.destination)
|
||||
return false, nil
|
||||
}
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@ func (oqs *OutgoingQueues) SendEvent(
|
|||
}
|
||||
|
||||
for _, destination := range destinations {
|
||||
go oqs.getQueue(destination).sendEvent(nid)
|
||||
oqs.getQueue(destination).sendEvent(nid)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in a new issue