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

Increase the expiration time for the merge request api cache

MR: gitlab.com/gitlab-org/gitlab/-/merge_requests/70267
parent 59141763
...@@ -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: 25.hours, **options present_cached merge_requests, expires_in: 2.days, **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