summaryrefslogtreecommitdiff
path: root/app/models/ci/runner_project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/ci/runner_project.rb')
-rw-r--r--app/models/ci/runner_project.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/ci/runner_project.rb b/app/models/ci/runner_project.rb
index af2595ce4af..e1c435e9b1f 100644
--- a/app/models/ci/runner_project.rb
+++ b/app/models/ci/runner_project.rb
@@ -1,14 +1,14 @@
# frozen_string_literal: true
module Ci
- class RunnerProject < ApplicationRecord
- extend Gitlab::Ci::Model
+ class RunnerProject < Ci::ApplicationRecord
include Limitable
self.limit_name = 'ci_registered_project_runners'
self.limit_scope = :project
self.limit_relation = :recent_runners
self.limit_feature_flag = :ci_runner_limits
+ self.limit_feature_flag_for_override = :ci_runner_limits_override
belongs_to :runner, inverse_of: :runner_projects
belongs_to :project, inverse_of: :runner_projects