mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	Move status table to cron package (#7370)
This commit is contained in:
		
				
					committed by
					
						
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							760c473896
						
					
				
				
					commit
					d2958d9f46
				
			@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user