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: backoff strategies #125

Merged
merged 1 commit into from Mar 22, 2015
Merged

Conversation

mreiferson
Copy link
Member

refactoring of the work in #123

RFR @jehiah

@jehiah
Copy link
Member

jehiah commented Mar 22, 2015

code looks good (Aside from integration test failures)

@mreiferson
Copy link
Member Author

updated

@jehiah
Copy link
Member

jehiah commented Mar 22, 2015

LGTM

@mreiferson
Copy link
Member Author

🔨

jehiah added a commit that referenced this pull request Mar 22, 2015
@jehiah jehiah merged commit f0c950f into nsqio:master Mar 22, 2015
@mreiferson mreiferson deleted the jittered_backoff_125 branch March 22, 2015 22:12
@twmb
Copy link
Contributor

twmb commented Mar 22, 2015

It might be beneficial to document that the code calls setConfig so that implementors can also use the function, the same way flag does IsBoolFlag.

@mreiferson
Copy link
Member Author

@twmb I made those explicitly private, I don't want others relying on that method/interface/etc. My expectation is that user-implemented BackoffStrategy would use their own parameters/config.

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.

None yet

4 participants