Skip to content
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

reader: busy loop while draining #16

Merged
merged 1 commit into from
Nov 11, 2013
Merged

Conversation

mreiferson
Copy link
Member

this improves the finishedMessages draining code path to eliminate a potential busy loop and provide some output while it is working

@mreiferson
Copy link
Member Author

merge me... fixes issue for @hailocab, see hailocab@a5a8a0d#commitcomment-4564416

cc @domwong

jehiah added a commit that referenced this pull request Nov 11, 2013
reader: busy loop while draining
@jehiah jehiah merged commit 2033fc9 into nsqio:master Nov 11, 2013
@mreiferson mreiferson deleted the busy_loop_16 branch November 11, 2013 19:44
sthulb pushed a commit to HailoOSS/go-nsq that referenced this pull request Sep 14, 2016
kuroneko pushed a commit to kuroneko/go-nsq that referenced this pull request Jul 6, 2018
nsq: add backoff to Go reader library
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants