Browse Source

change

tags/v1.0.0
sylor_huang@126.com 6 years ago
parent
commit
66d851f566
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/tasks/check_mirror_rake.rb

+ 1
- 1
app/tasks/check_mirror_rake.rb View File

@@ -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)


Loading…
Cancel
Save