Adding refresh_jid checkpoints for stuckImportWorker
This is to ensure long running imports are not killed AdvanceStage will now refresh jids upon job finishing This MR also adds redis method expire to refresh timeout of jids Changelog: performance
显示
- app/workers/concerns/gitlab/github_import/stage_methods.rb 3 个添加, 1 个删除app/workers/concerns/gitlab/github_import/stage_methods.rb
- app/workers/gitlab/github_import/refresh_import_jid_worker.rb 6 个添加, 4 个删除...workers/gitlab/github_import/refresh_import_jid_worker.rb
- app/workers/gitlab/github_import/stage/import_repository_worker.rb 0 个添加, 6 个删除...rs/gitlab/github_import/stage/import_repository_worker.rb
- app/workers/gitlab/import/advance_stage.rb 2 个添加, 0 个删除app/workers/gitlab/import/advance_stage.rb
- lib/gitlab/sidekiq_status.rb 10 个添加, 0 个删除lib/gitlab/sidekiq_status.rb
- spec/lib/gitlab/sidekiq_status_spec.rb 25 个添加, 0 个删除spec/lib/gitlab/sidekiq_status_spec.rb
- spec/support/shared_examples/lib/gitlab/import/advance_stage_shared_examples.rb 2 个添加, 2 个删除...amples/lib/gitlab/import/advance_stage_shared_examples.rb
- spec/workers/concerns/gitlab/github_import/stage_methods_spec.rb 11 个添加, 3 个删除...rkers/concerns/gitlab/github_import/stage_methods_spec.rb
- spec/workers/gitlab/bitbucket_import/advance_stage_worker_spec.rb 1 个添加, 1 个删除...kers/gitlab/bitbucket_import/advance_stage_worker_spec.rb
- spec/workers/gitlab/github_import/refresh_import_jid_worker_spec.rb 14 个添加, 6 个删除...rs/gitlab/github_import/refresh_import_jid_worker_spec.rb
- spec/workers/gitlab/github_import/stage/import_repository_worker_spec.rb 0 个添加, 10 个删除...tlab/github_import/stage/import_repository_worker_spec.rb
加载中
想要评论请 注册 或 登录