1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-24 11:18:36 +00:00

#2018 able to sync now for mirrors

- Refactor code to use sync.UniqueQueue
- Closes #3509
This commit is contained in:
Unknwon
2016-08-30 16:18:33 -07:00
parent c1ecb6c60a
commit 8516dfcb6c
16 changed files with 345 additions and 242 deletions

View File

@@ -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"))