Skip to content

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