From e7bd824484636fd4d4d7beb524b6bea3ecef533a Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Tue, 25 Dec 2018 23:34:47 -0800 Subject: 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 --- changelogs/unreleased/sh-fix-branches-api-timeout.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changelogs/unreleased/sh-fix-branches-api-timeout.yml (limited to 'changelogs/unreleased') 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 -- cgit v1.2.3