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

Add indefinite retention (e.g., disabled TTL). #15

Open
hopeseekr opened this issue Dec 25, 2024 · 0 comments
Open

Add indefinite retention (e.g., disabled TTL). #15

hopeseekr opened this issue Dec 25, 2024 · 0 comments

Comments

@hopeseekr
Copy link

Having analyzed the code, it appears that there is no way to set an indefinite TTL.

If I pass a TTL of 0, it will timeout immediately. Same with -1. If I pass null, it just sets it to the default TTL...

There needs to be a mechanism to set an indefinite store period. So let's settle on the industry standard of -1.

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

No branches or pull requests

1 participant