diff options
author | Stan Hu <stanhu@gmail.com> | 2018-12-26 10:34:47 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-12-27 15:24:37 +0300 |
commit | e7bd824484636fd4d4d7beb524b6bea3ecef533a (patch) | |
tree | 4b435626be5630c408e5ef4323420fe74a82118a /changelogs/unreleased | |
parent | 77909a88460bbc864a5f95f3fa66053eb6cab5a8 (diff) |
Fix timeout issues retrieving branches via API
47d4890d changed the order of pagination so that the full list of
branches would be passed to Gitaly to determine which ones had been
merged, but this operation can timeout for large repositories with
many branches. We only need to determine whether the found branches have
been merged, so limit the scan to those.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55724
Diffstat (limited to 'changelogs/unreleased')
-rw-r--r-- | changelogs/unreleased/sh-fix-branches-api-timeout.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/sh-fix-branches-api-timeout.yml b/changelogs/unreleased/sh-fix-branches-api-timeout.yml new file mode 100644 index 00000000000..8cd29a7269d --- /dev/null +++ b/changelogs/unreleased/sh-fix-branches-api-timeout.yml @@ -0,0 +1,5 @@ +--- +title: Fix timeout issues retrieving branches via API +merge_request: 24034 +author: +type: performance |