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

README and testcases update for MaxLen and Approx options #12

Merged
merged 4 commits into from
Nov 17, 2023
Merged

README and testcases update for MaxLen and Approx options #12

merged 4 commits into from
Nov 17, 2023

Conversation

saisrikark
Copy link
Contributor

@saisrikark saisrikark commented Nov 16, 2023

I would like to limit the number of messages stored in a stream.
This ensures that streams consume a fixed amount of storage and prevents piling up of messages.

There is already a TTL option.
But, in load scenarios the messages might still pile up within the TTL.

@dranikpg
Copy link
Owner

Hi! This is really a weird day... 🤯 This library usually sees contributions only once a year, but now we've got two on a single day.

Only to be fair, #11 was opened earlier, so I accepted it first. However, I appreciate that you added a test and edited the readme. If you don't mind, can you please leave out our your changes form stream.go, so I can merge the test and readme edit?

Thanks for your contribution! 🙂

@saisrikark saisrikark changed the title maxlen option when adding to the stream README and testcases update for MaxLen and Approx options Nov 17, 2023
@dranikpg dranikpg merged commit 4917a00 into dranikpg:master Nov 17, 2023
2 checks passed
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