Browse Source

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

pull/343/head
xxqfamous 3 years ago
parent
commit
635ca7ca4b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/jobs/migrate_remote_repository_job.rb

+ 1
- 1
app/jobs/migrate_remote_repository_job.rb 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!


Loading…
Cancel
Save