From 66d851f5668d7aca960cc849f549dbae8fbffe2c Mon Sep 17 00:00:00 2001 From: "sylor_huang@126.com" Date: Fri, 17 Jul 2020 11:54:46 +0800 Subject: [PATCH] change --- app/tasks/check_mirror_rake.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tasks/check_mirror_rake.rb b/app/tasks/check_mirror_rake.rb index 397b565b7..aa9332349 100644 --- a/app/tasks/check_mirror_rake.rb +++ b/app/tasks/check_mirror_rake.rb @@ -3,7 +3,7 @@ class CheckMirrorRake def call SyncLog.sync_log("=====begin to check mirror======") - all_projects = Projects.select(:id,:identifier,:user_id, :gpid, :forked_count,:is_public).includes(:owner, :repository) + all_projects = Project.select(:id,:identifier,:user_id, :gpid, :forked_count,:is_public).includes(:owner, :repository) all_projects.each do |project| SyncLog.sync_log("=====check_project_id:#{project.id}======") CheckMirrorJob.perform_later(project)