Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-09-28 09:10:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-09-28 09:10:23 +0300
commitb491556459ca79e710140f2613b543ee6111f801 (patch)
treedcad3edca141bfe10e7e17d293a8928b1e6c32d4 /app/controllers
parent26169f534ccd8a387681dce7b389493bfffb2896 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/graphql_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/graphql_controller.rb b/app/controllers/graphql_controller.rb
index 29bc48f93e9..faafbc0203f 100644
--- a/app/controllers/graphql_controller.rb
+++ b/app/controllers/graphql_controller.rb
@@ -301,6 +301,8 @@ class GraphqlController < ApplicationController
end
def introspection_query_can_use_cache?
+ return false if Gitlab.dev_or_test_env?
+
CACHED_INTROSPECTION_QUERY_STRING == graphql_query_object.query_string.squish
end