summaryrefslogtreecommitdiffstats
path: root/models/repo_mirror.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/repo_mirror.go')
-rw-r--r--models/repo_mirror.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/models/repo_mirror.go b/models/repo_mirror.go
index c62834f6fb..528e9daa8b 100644
--- a/models/repo_mirror.go
+++ b/models/repo_mirror.go
@@ -315,11 +315,6 @@ func DeleteMirrorByRepoID(repoID int64) error {
// MirrorUpdate checks and updates mirror repositories.
func MirrorUpdate() {
- if !taskStatusTable.StartIfNotRunning(mirrorUpdate) {
- return
- }
- defer taskStatusTable.Stop(mirrorUpdate)
-
log.Trace("Doing: MirrorUpdate")
if err := x.