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

[Proposal] Make the maxTtlIfError optional #43

Open
kdybicz opened this issue Jun 30, 2022 · 1 comment
Open

[Proposal] Make the maxTtlIfError optional #43

kdybicz opened this issue Jun 30, 2022 · 1 comment

Comments

@kdybicz
Copy link

kdybicz commented Jun 30, 2022

In some of the case we might not need or event want the maxTtlIfError to work, it would be nice if we could omit it in the configuration and thus make sure it's not used by the code.

The temporary workaround might be using same ttl value for both maxTtlIfError and maxTtl, but this is just wasting the cache memory.

@StarpTech
Copy link
Owner

Hi, I am open to a PR that makes this option configurable globally and per request.

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

2 participants