mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
change
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user