Commit ccb48123 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'increase_merge_request_api_caching' into 'master'

Increase the expiration time for the merge request api cache

See merge request gitlab-org/gitlab!70267
parents 965f3099 7b1d826c
......@@ -202,7 +202,7 @@ module API
options[:project] = user_project
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
present merge_requests, options
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