forked from kevadesu/forgejo
Disable unnecessary mirroring elements
This mod fixes disabling unnecessary mirroring elements. Related: https://github.com/go-gitea/gitea/pull/16957 Related: https://github.com/go-gitea/gitea/pull/13084 Author-Change-Id: IB#1105104
This commit is contained in:
parent
b7c6457648
commit
02b4505150
7 changed files with 11 additions and 12 deletions
|
@ -141,7 +141,9 @@ func registerCleanupHookTaskTable() {
|
|||
}
|
||||
|
||||
func initBasicTasks() {
|
||||
registerUpdateMirrorTask()
|
||||
if setting.Mirror.Enabled {
|
||||
registerUpdateMirrorTask()
|
||||
}
|
||||
registerRepoHealthCheck()
|
||||
registerCheckRepoStats()
|
||||
registerArchiveCleanup()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue