mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	| @@ -22,7 +22,7 @@ import ( | ||||
| 	rpm_service "code.gitea.io/gitea/services/packages/rpm" | ||||
| ) | ||||
|  | ||||
| // Task method to execute cleanup rules and cleanup expired package data | ||||
| // CleanupTask executes cleanup rules and cleanup expired package data | ||||
| func CleanupTask(ctx context.Context, olderThan time.Duration) error { | ||||
| 	if err := ExecuteCleanupRules(ctx); err != nil { | ||||
| 		return err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user