Commit a7caebd8 authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'mc/feature/lock-latest-artifact-default-ff' into 'master'

Enable locking latest artifact by default

See merge request gitlab-org/gitlab!40395
parents 41663137 1d5420aa
...@@ -41,11 +41,11 @@ module Gitlab ...@@ -41,11 +41,11 @@ module Gitlab
end end
def self.keep_latest_artifacts_for_ref_enabled?(project) def self.keep_latest_artifacts_for_ref_enabled?(project)
::Feature.enabled?(:keep_latest_artifacts_for_ref, project, default_enabled: false) ::Feature.enabled?(:keep_latest_artifacts_for_ref, project, default_enabled: true)
end end
def self.destroy_only_unlocked_expired_artifacts_enabled? def self.destroy_only_unlocked_expired_artifacts_enabled?
::Feature.enabled?(:destroy_only_unlocked_expired_artifacts, default_enabled: false) ::Feature.enabled?(:destroy_only_unlocked_expired_artifacts, default_enabled: true)
end end
def self.bulk_insert_on_create?(project) def self.bulk_insert_on_create?(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment