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

Automatic Persisted Query cache default ttl is not 300 secs in v4 as document #8015

Open
zeroshine opened this issue Jan 9, 2025 · 0 comments

Comments

@zeroshine
Copy link
Contributor

Issue Description

For all other supported stores, the default TTL is 300 seconds.

v4 document ref

in Apollo v3 apollo-server-redis-cache lib default ttl is 300 secs

class BaseRedisCache {
    constructor(options) {
        this.defaultSetOptions = {
            ttl: 300,
        };
        ...
    }
}

but default ttl 300 secs is not found in Apollo v4 keyv related library. Maybe this document description should be fix

Link to Reproduction

https://www.apollographql.com/docs/apollo-server/performance/apq#adjusting-cache-time-to-live-ttl

Reproduction Steps

No response

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