Skip to content

Commit

Permalink
fix: push block after panic (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: caojiawen <[email protected]>
  • Loading branch information
fatboy1513 and caojiawen authored Nov 10, 2021
1 parent 3907f98 commit e5bf47c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncserver/consumers/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@ func (s *PushConsumer) OnEvent(input *gomatrixserverlib.ClientEvent, eventOffset
log.Errorf("PushConsumer OnEvent process panic recovered err %#v", e)
}
}()
defer wg.Done()
s.preProcessPush(&member, helperEvent, memCount, eventOffset, redactOffset, eventJson, pushContents, isRelatesContent, static, pushData)
wg.Done()
}(member, &helperEvent, memCount, eventOffset, redactOffset, &eventJson, &pushContents, isRelatesContent, static, pushData)
}
wg.Wait()
Expand Down

0 comments on commit e5bf47c

Please sign in to comment.