-
Notifications
You must be signed in to change notification settings - Fork 32
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
maxTtlIfError
behavior clarification.
#27
Comments
Hi @JustinTRoss, you're right this is confusing. The TTL of the error cache must always be longer than the default TTL cache.
|
Got it. To confirm:
|
yes, |
Agreed. It could be better worded. It sounds like the sentiment is generally true though, that the cached value can be returned for up to 40 minutes. This seems necessary for folks to understand. I'll work on conveying it clearly and send a PR with updated docs. Thanks again! 🙏 |
Thanks! |
This line makes it appear
maxTtlIfError
is whatever value is provided in seconds formaxTtlIfError
apollo-datasource-http/README.md
Line 113 in 5f0036f
This line makes it appear as though
maxTtlIfError
actually ends up beingmaxTtl + maxTtlIfError
.apollo-datasource-http/src/http-data-source.ts
Line 328 in 5f0036f
I'm happy to PR clarification once I have it. Just need to know what that is 🙃 .
The text was updated successfully, but these errors were encountered: