WIP: Move migration git clone to its own goroutine#5949
Closed
zeripath wants to merge 12 commits into
Closed
Conversation
lafriks
reviewed
Feb 3, 2019
Contributor
Author
|
e20736d to
e9dd53b
Compare
The current code places the git clone in the POST goroutine, blocking that goroutine until it is finished. This PR asynchronises this, placing the clone within its own goroutine. Fix go-gitea#3770
e9dd53b to
938026f
Compare
Codecov Report
@@ Coverage Diff @@
## master #5949 +/- ##
=========================================
+ Coverage 38.86% 38.9% +0.04%
=========================================
Files 345 346 +1
Lines 49510 49670 +160
=========================================
+ Hits 19241 19324 +83
- Misses 27486 27553 +67
- Partials 2783 2793 +10
Continue to review full report at Codecov.
|
Contributor
Author
|
Ok, this is now working. In terms of things that could be done:
|
Signed-off-by: Andrew Thornton <art27@cantab.net>
7 tasks
Contributor
Author
|
Closing this PR in preference to lunny's |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current code places the git clone in the POST goroutine, blocking that goroutine until it is finished. This PR asynchronises this, placing the clone within its own goroutine. Fix #3770. Fix #1249.