Slow API endpoint: /api/:version/projects/:id/repository/branches/:branch/unprotect

Summary

The API endpoint could take up to 30 seconds, to unprotect a branch.

What is the current bug behavior?

It takes about 23s in the 95 percentile, but more in the 99 percentile.

What is the expected correct behavior?

Completes within a second.

Relevant logs and/or screenshots

Internal log data

Assignee Loading
Time tracking Loading