change
This commit is contained in:
parent
49db7cf68d
commit
66d851f566
|
@ -3,7 +3,7 @@ class CheckMirrorRake
|
||||||
|
|
||||||
def call
|
def call
|
||||||
SyncLog.sync_log("=====begin to check mirror======")
|
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|
|
all_projects.each do |project|
|
||||||
SyncLog.sync_log("=====check_project_id:#{project.id}======")
|
SyncLog.sync_log("=====check_project_id:#{project.id}======")
|
||||||
CheckMirrorJob.perform_later(project)
|
CheckMirrorJob.perform_later(project)
|
||||||
|
|
Loading…
Reference in New Issue