New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[POSSIBLE BUG] - Publisher get frozen when publishing without any delay #104
Comments
It's looke like some issue is here
channel.Queue method has a lock
If you change ch.Queue() for simple string, for example "queueName" - all is good |
It looks like lock/unluck on ch.Queue is useless and make some decrease in performance |
@valinurovam Thank you for response. So you mean, If I remove lock, it might work? Question: Is lock necessary there? Because I don't see any operations that might cause deadlock |
Looks like deadlock somewhere. If you change method like this
Logs
|
I'm using BadgerDB as persistent DB and when trying to publish around 500K messages with
Persistent
messages for testing without any delay, it causes publisher to freeze.Screenshot
Seems Channel is closed before all messages are being published
The text was updated successfully, but these errors were encountered: