From 9c7ab8bda7ffd2a0913b8feeb674f8d8e16896ba Mon Sep 17 00:00:00 2001 From: Mackenzie Ian Frew Date: Fri, 18 Aug 2023 14:57:32 -0400 Subject: [PATCH] Set ApolloServer cache to bounded --- server/src/server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/server.ts b/server/src/server.ts index edc4d678..f63f32ac 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -85,6 +85,7 @@ const startServer = async () => { schema, context: ({ req, res }: any) => ({ req, res }), plugins: [ApolloServerPluginLandingPageGraphQLPlayground()], + cache: 'bounded', }); await apolloServer.start(); apolloServer.applyMiddleware({ app });