]> source.dussan.org Git - gitea.git/commit
Only check for non-finished migrating task (#19601)
authorGusted <williamzijl7@hotmail.com>
Wed, 4 May 2022 10:09:42 +0000 (10:09 +0000)
committerGitHub <noreply@github.com>
Wed, 4 May 2022 10:09:42 +0000 (12:09 +0200)
commit3114cd30b817692556306ce6261ace2b58c54b76
treec26e7e748a795197c76ca93eee0013584d4f4096
parent9c04da37d0bcb51ef0c20baeeea48c48eda99ff0
Only check for non-finished migrating task (#19601)

* Only check for non-finished migrating task

- Only check if a non-finished migrating task exists for a mirror before
fetching the mirror details from the database.
- Resolves #19600
- Regression: #19588

* Clarify function
models/task.go
modules/context/repo.go