From 30bfef3090a2180f17585e59a03af5f7cd24b998 Mon Sep 17 00:00:00 2001 From: Tiago Botelho Date: Tue, 13 Nov 2018 12:53:07 +0100 Subject: [PATCH 1/2] Adds documentation of git trace when git push/pull times out Adds a detailed explanation on what the user can expect to see in case a git pull or push operation times out on their local machines --- doc/topics/git/troubleshooting_git.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/topics/git/troubleshooting_git.md b/doc/topics/git/troubleshooting_git.md index 8555c5e91ea..3fdfd4b95ef 100644 --- a/doc/topics/git/troubleshooting_git.md +++ b/doc/topics/git/troubleshooting_git.md @@ -78,5 +78,20 @@ git push In case you're running an older version of Git (< 2.9), consider upgrading to >= 2.9 (see [Broken pipe when pushing to Git repository][Broken-Pipe]). +## Timeout during git push/pull + +If pulling/pushing from/to your repository ends up taking more than 50 seconds, +a timeout will be issued with a log of the number of operations performed +and their respective timings like the example below: + +``` +remote: Running checks for branch: master +remote: Scanning for LFS objects... (153ms) +remote: Calculating new repository size... (cancelled after 729ms) +``` + +This could be used to further investigate what operation is performing poorly +and provide GitLab with more information on how to improve the service. + [SSH troubleshooting]: ../../ssh/README.md#troubleshooting "SSH Troubleshooting" [Broken-Pipe]: https://stackoverflow.com/questions/19120120/broken-pipe-when-pushing-to-git-repository/36971469#36971469 "StackOverflow: 'Broken pipe when pushing to Git repository'" From db6913cb2e8aaf85c45588ba54a5aea951bc7bcf Mon Sep 17 00:00:00 2001 From: Tiago Botelho Date: Wed, 14 Nov 2018 09:23:22 +0000 Subject: [PATCH 2/2] Adds comma after "timings" in git troubleshooting documentation --- doc/topics/git/troubleshooting_git.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/topics/git/troubleshooting_git.md b/doc/topics/git/troubleshooting_git.md index 3fdfd4b95ef..d1729d70158 100644 --- a/doc/topics/git/troubleshooting_git.md +++ b/doc/topics/git/troubleshooting_git.md @@ -82,7 +82,7 @@ to >= 2.9 (see [Broken pipe when pushing to Git repository][Broken-Pipe]). If pulling/pushing from/to your repository ends up taking more than 50 seconds, a timeout will be issued with a log of the number of operations performed -and their respective timings like the example below: +and their respective timings, like the example below: ``` remote: Running checks for branch: master