summaryrefslogtreecommitdiff
path: root/lib/expand_variables.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2019-08-31 23:43:55 -0700
committerStan Hu <stanhu@gmail.com>2019-09-11 23:49:41 -0700
commitdae0dec0087c41b0e330009ad355a12df0e09cb8 (patch)
tree76a28ae55786b3cee5e99d74e099347827fea3fb /lib/expand_variables.rb
parent3de934cb4f9c7f8efaba76b8e78b7221d8807aa7 (diff)
downloadgitlab-ce-sh-limit-diverging-commit-counts.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 'lib/expand_variables.rb')
0 files changed, 0 insertions, 0 deletions