Bug #5590
openPull Request creation takes 2 minutes
0%
Description
The creation of Pull Requests for one of our repository takes a very long time. After the user clicks "Submit Pull Request", the page loads for about 2 minutes before the Pull Request page is displayed with a creation success. My users think that something is going wrong and they tend to stop the http request (by clicking the stop button of their browser, or going back in the history).
The duration does not depend on the size of the Pull Request. It is much faster for smaller repositories (the one that causes problem weights 6.5GB). We activated shadow repos for the Pull Requests, so my guess is that this time corresponds to the time it takes for the shadow repo to perform the clone. One the RhodeCode machine, hg clone of this repository (including the local copy update) takes 1 minute.
If it is difficult to perform this task asynchronously, it would be nice to have a "please wait" message during this operation.