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

consumer: send RDY before FIN/REQ #83

Merged
merged 1 commit into from
Sep 13, 2014
Merged

Conversation

mreiferson
Copy link
Member

same as nsqio/pynsq#98 in anticipation of nsqio/nsq#404 landing
this changes Consumer from asynchronous -> synchronous RDY
handling in order to strongly order the commands sent over the
wire.

the meaningful change is that we now send RDY before FIN/REQ
to ensure that we only ever test the water with a single message
when in backoff.

cc @jehiah

jehiah added a commit that referenced this pull request Sep 13, 2014
consumer: send RDY before FIN/REQ
@jehiah jehiah merged commit b575b10 into nsqio:master Sep 13, 2014
@mreiferson mreiferson deleted the backoff_rdy_83 branch September 13, 2014 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants