Improve the performance of PipelineScheduleWorker
Prepare to add index for ci_pipeline_schedules to improve query performance. Changelog: added
显示
- app/workers/pipeline_schedule_worker.rb 38 个添加, 5 个删除app/workers/pipeline_schedule_worker.rb
- app/workers/run_pipeline_schedule_worker.rb 12 个添加, 0 个删除app/workers/run_pipeline_schedule_worker.rb
- config/feature_flags/development/ci_use_run_pipeline_schedule_worker.yml 8 个添加, 0 个删除...flags/development/ci_use_run_pipeline_schedule_worker.yml
- db/post_migrate/20221220075936_add_query_index_for_ci_pipeline_schedules.rb 18 个添加, 0 个删除...221220075936_add_query_index_for_ci_pipeline_schedules.rb
- db/schema_migrations/20221220075936 1 个添加, 0 个删除db/schema_migrations/20221220075936
- db/structure.sql 2 个添加, 0 个删除db/structure.sql
- spec/workers/pipeline_schedule_worker_spec.rb 25 个添加, 4 个删除spec/workers/pipeline_schedule_worker_spec.rb
- spec/workers/run_pipeline_schedule_worker_spec.rb 75 个添加, 21 个删除spec/workers/run_pipeline_schedule_worker_spec.rb
加载中
想要评论请 注册 或 登录