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

Implement KeyValuePairParser.TryRead for Int64 #1568

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

chrnola
Copy link
Contributor

@chrnola chrnola commented Sep 9, 2020

Fixes #1567.

Looking for suggestions on how to add test coverage for this change. It seems like StackExchange.Redis.Tests.Streams.StreamGroupConsumerInfoGet() would be appropriate, but I'm not sure how to artificially increase the idle time of the consumer.

@mgravell
Copy link
Collaborator

We could expose this layer to unit tests, but: that's something we can add later - I'm perfectly happy with the code as shown. Much appreciated fix, thanks.

@mgravell mgravell merged commit 8b64a53 into StackExchange:main Sep 10, 2020
@chrnola chrnola deleted the fix-1567 branch September 10, 2020 12:23
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.

IDatabase.StreamConsumerInfoAsync throws for consumers which have been idle for > Int32.MaxValue milliseconds
2 participants