You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.
I tried to find parameters to make it fail all the time, and in my machine it failes pretty often when i use small number(2-20) of test iterations. The thing I used in trying to challange code is to send message while BatchSenderThread is sending previous heap. And in some cases it will not able to reach for event on _doWork.
I did not know very much about an AutoResetEvent, but it turned out that there is a simple solution - to set timeout parameter at WaitOne, so regardless of message rate it would reach every x seconds. If x is not very small, it would not affect performance. What do you think about adding it?
BatchSenderThread would not send messages if new event popped before we WaitOne it and after encounting number of items to queue.
The text was updated successfully, but these errors were encountered: