forked from redwoodjs/redwood
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(graphql-server): Improve GraphQL API performance by not accessing…
… project config in makeMergedSchema (redwoodjs#9032) **Problem** The toml config is not always available in serverless deploy environments and because `makeMergedSchema` is called on every request (in such deploy environments) then throwing & catching a JS error causes a heavy performance decrease. **Changes** 1. Base the opentelemetry functionality on the graphql plugin options alone. **Notes** 1. Will have to update the experimental docs. You must disable both toml and graphql options now as toml does not override/impact the functionality.
- Loading branch information
1 parent
0effb2d
commit 01346f9
Showing
2 changed files
with
2 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters