|
|
|
@@ -16,7 +16,7 @@ class MigrateRemoteRepositoryJob < ApplicationJob |
|
|
|
project_id = repo&.project&.id |
|
|
|
puts "############ mirror project_id,user_id: #{project_id},#{user_id} ############" |
|
|
|
OpenProjectDevOpsJob.set(wait: 5.seconds).perform_later(project_id, user_id) if project_id.present? && user_id.present? |
|
|
|
UpdateProjectTopicJob.perform_later(project_id) if project_id.present? |
|
|
|
UpdateProjectTopicJob.set(wait: 1.seconds).perform_later(project_id) if project_id.present? |
|
|
|
puts "############ mirror status: #{repo.mirror.status} ############" |
|
|
|
else |
|
|
|
repo&.mirror&.failed! |
|
|
|
|