Schedule materialized view refresh
This change adds a cron job to periodically rebuild the contributions materialized view.
显示
- app/services/click_house/rebuild_materialized_view_service.rb 22 个添加, 8 个删除...services/click_house/rebuild_materialized_view_service.rb
- app/workers/click_house/rebuild_materialized_view_cron_worker.rb 67 个添加, 13 个删除...kers/click_house/rebuild_materialized_view_cron_worker.rb
- config/feature_flags/gitlab_com_derisk/rebuild_contributions_mv.yml 9 个添加, 0 个删除...ture_flags/gitlab_com_derisk/rebuild_contributions_mv.yml
- config/feature_flags/gitlab_com_derisk/rebuild_mv_drop_old_tables.yml 9 个添加, 0 个删除...re_flags/gitlab_com_derisk/rebuild_mv_drop_old_tables.yml
- config/initializers/1_settings.rb 3 个添加, 0 个删除config/initializers/1_settings.rb
- lib/click_house/iterator.rb 1 个添加, 1 个删除lib/click_house/iterator.rb
- spec/services/click_house/rebuild_materialized_view_service_spec.rb 77 个添加, 9 个删除...ces/click_house/rebuild_materialized_view_service_spec.rb
- spec/workers/click_house/rebuild_materialized_view_cron_worker_spec.rb 74 个添加, 5 个删除...click_house/rebuild_materialized_view_cron_worker_spec.rb
想要评论请 注册 或 登录