Skip to content
Snippets Groups Projects

Load GitLabSchema as workaround for errors

Merged Luke Duncalfe requested to merge 211478-load-graphql-schema-workaround into master
All threads resolved!
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -144,7 +144,7 @@ def max_query_depth(ctx)
@@ -144,7 +144,7 @@ def max_query_depth(ctx)
end
end
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
# Force the schema to load as a workaround for intermittent errors we
# see due to a lack of thread safety.
# see due to a lack of thread safety.
Loading