-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix ttl #15
Comments
Yup, see the discussion on #12 Please feel free to open a PR - or i will try to get to it as soon as possible. |
cvburgess
added a commit
that referenced
this issue
Apr 5, 2019
- Fix issue setting TTL on cache requests [#15]
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
https://github.com/cvburgess/SQLDataSource/blob/master/SQLCache.js#L24-L40
Last param to
.set
is an object:https://github.com/apollographql/apollo-server/tree/master/packages/apollo-server-caching#implementing-your-own-cache
Also, ttl is in seconds, so example in README shouldn't multiply by 1000
The text was updated successfully, but these errors were encountered: