Skip to content

Commit

Permalink
Set 'cache: "bounded"'
Browse files Browse the repository at this point in the history
  • Loading branch information
ebma committed May 10, 2023
1 parent 5c11ed9 commit 5936e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function initApp(client: MyClient) {

const schema = createSchema(client)

const apolloServer = new ApolloServer({ schema })
const apolloServer = new ApolloServer({ schema, cache: "bounded" })
apolloServer.start().then(() => {
apolloServer.applyMiddleware({ app })
})
Expand Down

0 comments on commit 5936e56

Please sign in to comment.