Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer closing the gitrepo until the end of the wrapped context functions (#15653) #15746

Merged
merged 5 commits into from
May 7, 2021

Conversation

zeripath
Copy link
Contributor

@zeripath zeripath commented May 6, 2021

Backport #15653

There was a mistake in #15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.

Signed-off-by: Andrew Thornton [email protected]

…ons (go-gitea#15653)

Backport go-gitea#15653

There was a mistake in go-gitea#15372 where deferral of gitrepo close occurs before it should.

This PR fixes this.

Signed-off-by: Andrew Thornton <[email protected]>
@zeripath zeripath added this to the 1.14.2 milestone May 6, 2021
@6543 6543 added the performance/speed performance issues with slow downs label May 6, 2021
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label May 6, 2021
@6543
Copy link
Member

6543 commented May 6, 2021

@zeripath please resolve conflict :)

@zeripath
Copy link
Contributor Author

zeripath commented May 6, 2021

resolved

@zeripath
Copy link
Contributor Author

zeripath commented May 7, 2021

ugh I messed up with that resolve commits - now fixed

Copy link
Contributor

@kdumontnu kdumontnu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 7, 2021
@6543 6543 merged commit 6782a64 into go-gitea:release/v1.14 May 7, 2021
@zeripath zeripath deleted the backport-15653-v1.14 branch May 7, 2021 17:19
@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. performance/speed performance issues with slow downs type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants