Skip to content
Snippets Groups Projects
Commit 1547367e authored by Luke Duncalfe's avatar Luke Duncalfe :red_circle:
Browse files

Load GitLabSchema as workaround for errors

The errors we see are due to a lack of thread safety.

We can remove this workaround when we convert the schema to use
the new query interpreter runtime.

#211478 (comment 320636547)

See:
- #211478
- #210556
parent c778a90a
No related branches found
No related tags found
No related merge requests found
Pipeline #134230699 failed
......@@ -145,3 +145,14 @@ def max_query_depth(ctx)
end
GitlabSchema.prepend_if_ee('EE::GitlabSchema')
# Force the schema to load as a workaround for intermittent errors we
# see due to a lack of thread safety.
#
# TODO: We can remove this workaround when we convert the schema to use
# the new query interpreter runtime.
#
# See:
# - https://gitlab.com/gitlab-org/gitlab/-/issues/211478
# - https://gitlab.com/gitlab-org/gitlab/-/issues/210556
GitlabSchema.graphql_definition
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment