You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apollo server seems to be using an unbounded cache with no way of configuring to be bounded.
Getting the following warning when starting production:
Persisted queries are enabled and are using an unbounded cache. Your server is vulnerable to denial of service attacks via memory exhaustion. Set cache: "bounded" or persistedQueries: false in your ApolloServer constructor, or see https://go.apollo.dev/s/cache-backends for other alternatives.
📚 To Reproduce
Start Ackee with NODE_ENV=production should be enough.
Configuration mentioned in the systemd docs also produces this warning.
💡 Expected behavior
To not be vulnerable to denial of service attacks by default.
⚙️ Environment
Installation: Manually / Standalone
Ackee version: v3.4.2
The text was updated successfully, but these errors were encountered:
🐞 Describe the bug
Apollo server seems to be using an unbounded cache with no way of configuring to be bounded.
Getting the following warning when starting production:
📚 To Reproduce
Start Ackee with NODE_ENV=production should be enough.
Configuration mentioned in the systemd docs also produces this warning.
💡 Expected behavior
To not be vulnerable to denial of service attacks by default.
⚙️ Environment
The text was updated successfully, but these errors were encountered: