Skip to content
Snippets Groups Projects
Commit c15f9ab0 authored by Thong Kuah's avatar Thong Kuah :speech_balloon:
Browse files

Change urgency of API project/:id/share to `low`

This endpoint does not meet the default latency target of 1 second in
some scenarios. So changing the urgency to `low` instead. 5 second
target should be tolerable for this endpoint.
parent ebc5477b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -768,7 +768,7 @@ def add_import_params(params)
requires :group_access, type: Integer, values: Gitlab::Access.all_values, as: :link_group_access, desc: 'The group access level'
optional :expires_at, type: Date, desc: 'Share expiration date'
end
post ":id/share", feature_category: :groups_and_projects do
post ":id/share", feature_category: :groups_and_projects, urgency: :low do
authorize! :admin_project, user_project
shared_with_group = Group.find_by_id(params[:group_id])
 
Loading
Loading
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