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
about queue len #909
Comments
cc @sjmudd who authored this code. |
@shlomi-noach @sjmudd any update? It obviously feels like a bug. |
This is code that's been around for a long time but after looking again I think I would agree. I am tempted to modify this however to reflect the complete length of the discovery queue. That is both the pending ( e.g.
So prior to making any changes I wonder what you were looking for? |
@sjmudd separation's good. |
@MOON-CLJ: thanks for catching this. I've made a PR which I think should address the issue. |
file:
go/discovery/queue.go
code:
I am confused about the calculation of the queue length.
q.queue
andq.queuedKeys
are the same.Is there double counting here?
Thank you!
@MOON-CLJ
The text was updated successfully, but these errors were encountered: