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:
Diffstat (limited to 'lib/api/todos.rb')
-rw-r--r--lib/api/todos.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/api/todos.rb b/lib/api/todos.rb
index 57745ee8802..7e6b21d6121 100644
--- a/lib/api/todos.rb
+++ b/lib/api/todos.rb
@@ -88,6 +88,8 @@ module API
use :pagination, :todo_filters
end
get do
+ Gitlab::QueryLimiting.disable!('https://gitlab.com/gitlab-org/gitlab/-/issues/408576')
+
todos = paginate(find_todos.with_entity_associations)
todos = ::Todos::AllowedTargetFilterService.new(todos, current_user).execute
options = { with: Entities::Todo, current_user: current_user }