Closed wolf4ood closed 1 year ago
Patch coverage: 100.00%
and project coverage change: +0.26%
:tada:
Comparison is base (
f335c59
) 86.80% compared to head (8f0df1b
) 87.07%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I was able more less to reproduce the scenario described in #186
The main issue was by spawning a lot of tasks in a loop, there was a contention on the Message accumulator and batch send where each task was not able to form the batch for sending (including the scheduled sender) and thus leading to many accumulated message in the accumulator.
The fixes uses a lock mechanism to reduce contention when trying to get messages from the accumulator for batch send
Fixes #186