Replies: 1 comment 4 replies
-
What health check are you referring to? Apollo Server 4 no longer has a health check feature: https://www.apollographql.com/docs/apollo-server/migration/#health-checks |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We upgrated apollo server to 4 version and noticed health check query spams a lot to logs.
How to reduce the frequency of calling this health check request?
async function startApolloServer() {
const server = new ApolloServer({ typeDefs, resolvers });
const { url } = await startStandaloneServer(server, {
context: async ({ req }) => ({ token: req.headers.token }),
listen: { port: 4000 },
});
console.log(
🚀 Server ready at ${url}
);}
One more question how to restrict external queries that new playground(apollo sandbox) calls
Beta Was this translation helpful? Give feedback.
All reactions