Dont lock on envelope sent

This commit is contained in:
Andrea Maria Piana 2020-12-16 22:06:57 +01:00
parent 58f2dac673
commit cdca42b90f
1 changed files with 0 additions and 3 deletions

View File

@ -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 {