Increase GraphQL validation timeout behind feature flag

Context

Large legitimate GraphQL queries are timing out during validation with the current 0.2s timeout: https://gitlab.com/gitlab-com/request-for-help/-/work_items/4309, #420396.

What's in this MR?

  • Increase validate_timeout from 0.2s to 0.5s behind the graphql_increased_validate_timeout feature flag (gitlab_com_derisk type)
  • Override the validate_timeout getter and setter on GitlabSchema to make the value dynamic based on the feature flag state

Merge request reports

Loading