-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: introspection: don't prefill the introspection cache anymore. (
#1517) fixes: #1516, #1466 Since @bnjjj s refactoring on introspection, we don't need to cache well known introspection queries. Pros: Caching those queries and responses can lead to high memory footprints, especially on very large schemas. Cons: The first introspection query will take a bit longer (~130ms on my machine) than the cached one (~2ms on my machine) The default introspection cache size is now 5, and cannot be configured. 5 has been chosen because we do not expect local developers to run tools that need more than 5 different introspection queries with < 3ms latency requirements.
- Loading branch information
1 parent
b706f2a
commit a366da9
Showing
16 changed files
with
55 additions
and
918 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
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
98 changes: 0 additions & 98 deletions
98
apollo-router/well_known_introspection_queries/altair.graphql
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.