Commit 7bf0a111 authored by Marc Shaw's avatar Marc Shaw

Increase expiration of get merge requests API cache

MR: gitlab.com/gitlab-org/gitlab/-/merge_requests/68465
parent d71f1b02
...@@ -202,7 +202,7 @@ module API ...@@ -202,7 +202,7 @@ module API
options[:project] = user_project options[:project] = user_project
if Feature.enabled?(:api_caching_merge_requests, user_project, type: :development, default_enabled: :yaml) if Feature.enabled?(:api_caching_merge_requests, user_project, type: :development, default_enabled: :yaml)
present_cached merge_requests, expires_in: 10.minutes, **options present_cached merge_requests, expires_in: 12.hours, **options
else else
present merge_requests, options present merge_requests, options
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment