aboutsummaryrefslogtreecommitdiffstats
path: root/routers/install.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-08-30 16:18:33 -0700
committerUnknwon <u@gogs.io>2016-08-30 16:18:33 -0700
commit8516dfcb6cb008f286ec84bed4243928acb94844 (patch)
tree9b3882438a04a3e659e49e35364a5643a71c9258 /routers/install.go
parentc1ecb6c60a1acacf530e226b8043ca93d2fe4a07 (diff)
downloadgitea-8516dfcb6cb008f286ec84bed4243928acb94844.tar.gz
gitea-8516dfcb6cb008f286ec84bed4243928acb94844.zip
#2018 able to sync now for mirrors
- Refactor code to use sync.UniqueQueue - Closes #3509
Diffstat (limited to 'routers/install.go')
-rw-r--r--routers/install.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/install.go b/routers/install.go
index 9ab0a45968..00171faa5f 100644
--- a/routers/install.go
+++ b/routers/install.go
@@ -75,6 +75,7 @@ func GlobalInit() {
// Booting long running goroutines.
cron.NewContext()
+ models.InitSyncMirrors()
models.InitDeliverHooks()
models.InitTestPullRequests()
log.NewGitLogger(path.Join(setting.LogRootPath, "http.log"))