fixed 新建项目初始化项目标签不延时
This commit is contained in:
parent
c7b61775c2
commit
cf4b5e9ab8
|
@ -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.set(wait: 5.seconds).perform_later(project_id) if project_id.present?
|
||||
UpdateProjectTopicJob.perform_later(project_id) if project_id.present?
|
||||
puts "############ mirror status: #{repo.mirror.status} ############"
|
||||
else
|
||||
repo&.mirror&.failed!
|
||||
|
|
Loading…
Reference in New Issue