Commit 597d1df8 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '211478-load-graphql-schema-workaround' into 'master'

Load GitLabSchema as workaround for errors

See merge request gitlab-org/gitlab!29208
parents 12699360 31b0b2ad
......@@ -144,4 +144,15 @@ class GitlabSchema < GraphQL::Schema
end
end
GitlabSchema.prepend_if_ee('EE::GitlabSchema')
GitlabSchema.prepend_if_ee('EE::GitlabSchema') # rubocop: disable Cop/InjectEnterpriseEditionModule
# 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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment