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

correctly handle consumer maxwait timeouts over 31 bits in milliseconds #57

Merged
merged 1 commit into from
May 1, 2015

Conversation

warrenfalk
Copy link

Timeout in milliseconds is silently downcast to signed integer causing usage of Timeout.MaxValue to result in a negative timeout. This fix has no effect for values below 31 bits, and caps everything else to the 31 bit maximum.

Jroland added a commit that referenced this pull request May 1, 2015
correctly handle consumer maxwait timeouts over 31 bits in milliseconds
@Jroland Jroland merged commit 56c4e2c into Jroland:master May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants