fixed 新建项目初始化项目标签,语言获取必需延时

This commit is contained in:
xxqfamous 2023-06-08 17:18:48 +08:00
parent 52cefc5a51
commit 635ca7ca4b
1 changed files with 1 additions and 1 deletions

View File

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