diff options
author | Stan Hu <stanhu@gmail.com> | 2019-08-31 23:43:55 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-09-11 23:49:41 -0700 |
commit | dae0dec0087c41b0e330009ad355a12df0e09cb8 (patch) | |
tree | 76a28ae55786b3cee5e99d74e099347827fea3fb /changelogs/unreleased/sh-limit-diverging-commit-counts.yml | |
parent | 3de934cb4f9c7f8efaba76b8e78b7221d8807aa7 (diff) | |
download | gitlab-ce-dae0dec0087c41b0e330009ad355a12df0e09cb8.tar.gz |
Limit diverging commit counts requestssh-limit-diverging-commit-counts
In https://gitlab.com/gitlab-org/gitlab-ce/issues/66200, we saw that
many clients accidentally request diverging counts for all branches only
because there are no stale/active branches in the project. This has been
fixed on the frontend in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/32496.
To prevent this endpoint from calling Gitaly too many times, we require
that branch names be specified if the total number of branches exceeds
the limit (20).
Diffstat (limited to 'changelogs/unreleased/sh-limit-diverging-commit-counts.yml')
-rw-r--r-- | changelogs/unreleased/sh-limit-diverging-commit-counts.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-limit-diverging-commit-counts.yml b/changelogs/unreleased/sh-limit-diverging-commit-counts.yml new file mode 100644 index 00000000000..3aa47bd1fbe --- /dev/null +++ b/changelogs/unreleased/sh-limit-diverging-commit-counts.yml @@ -0,0 +1,5 @@ +--- +title: Limit diverging commit counts requests +merge_request: 32497 +author: +type: performance |