diff options
Diffstat (limited to 'config/initializers/graphql.rb')
-rw-r--r-- | config/initializers/graphql.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/config/initializers/graphql.rb b/config/initializers/graphql.rb index 81317a3d87a..f1bc289f1f0 100644 --- a/config/initializers/graphql.rb +++ b/config/initializers/graphql.rb @@ -5,7 +5,3 @@ GraphQL::Field.accepts_definitions(authorize: GraphQL::Define.assign_metadata_ke GraphQL::Schema::Object.accepts_definition(:authorize) GraphQL::Schema::Field.accepts_definition(:authorize) - -GitlabSchema.middleware << GraphQL::Schema::TimeoutMiddleware.new(max_seconds: Gitlab.config.gitlab.graphql_timeout) do |timeout_error, query| - Gitlab::GraphqlLogger.error(message: timeout_error.to_s, query: query.query_string, query_variables: query.provided_variables) -end |