-
Notifications
You must be signed in to change notification settings - Fork 442
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
consumer: cleanup RDY handling; fix pausing #249
Conversation
RFR |
I noticed that |
This is honestly the part of NSQ that I'm least familiar with ... the technical details of how ready-count is "refilled" and such ... I'll keep looking and slowly digesting though :) |
Addressed comments.
Yea, this is just old and outdated code that's already been addressed in |
|
||
timeoutCh := time.After(500 * time.Millisecond) | ||
pauseCh := time.After(50 * time.Millisecond) | ||
unpauseCh := time.After(75 * time.Millisecond) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a little fragile and time dependent, but should be reasonably stable.
looks good 👍 |
this addresses the issue reported in #222