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

This commit is contained in:
xxq250 2023-06-08 18:01:44 +08:00
parent 8be1373bf9
commit caa5ad5ac4
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@ class MigrateRemoteRepositoryJob < ApplicationJob
else
repo&.mirror&.failed!
end
BroadcastMirrorRepoMsgJob.perform_later(repo.id) unless repo&.mirror.waiting?
# UpdateProjectTopicJob 中语言要延迟1S才能获取
BroadcastMirrorRepoMsgJob.set(wait: 1.seconds).perform_later(repo.id) unless repo&.mirror.waiting?
end
end