Skip to content

Draft: Simplify cost factor enablement checking

Avielle Wolfe requested to merge 336021-refactor-minutes-limit-enabled into master

What does this MR do?

  • Renames Ci::Runner#shared_runners_minutes_limit_enabled? to Ci::Runner#cost_factor_enabled?
  • Moves the check that a project has a shared runner minute limit to CostFactor

This keeps cost factor logic in one place.

Issue

#336021 (closed)

Edited by Avielle Wolfe

Merge request reports