Dont lock on envelope sent
This commit is contained in:
parent
58f2dac673
commit
cdca42b90f
|
@ -320,9 +320,6 @@ func NewMessenger(
|
|||
}
|
||||
|
||||
func (m *Messenger) processSentMessages(ids []string) error {
|
||||
m.mutex.Lock()
|
||||
defer m.mutex.Unlock()
|
||||
|
||||
for _, id := range ids {
|
||||
rawMessage, err := m.persistence.RawMessageByID(id)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue