Skip to content
Snippets Groups Projects
Commit 7bf0a111 authored by Marc Shaw's avatar Marc Shaw :two:
Browse files

Increase expiration of get merge requests API cache

MR: gitlab.com/gitlab-org/gitlab/-/merge_requests/68465
parent d71f1b02
No related branches found
No related tags found
1 merge request!68465Increase expiration of get merge requests API cache
......@@ -202,7 +202,7 @@ def authorize_push_to_merge_request!(merge_request)
options[:project] = user_project
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
present merge_requests, options
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment