Commit d3b4a74d authored by Thong Kuah's avatar Thong Kuah

Merge branch 'sh-disable-archive-rate-throttle-default' into 'master'

Disable archive rate limit by default

See merge request gitlab-org/gitlab!28264
parents 8e8c6a26 4db1b784
---
title: Disable archive rate limit by default
merge_request: 28264
author:
type: fixed
...@@ -7,7 +7,7 @@ module Gitlab ...@@ -7,7 +7,7 @@ module Gitlab
ARCHIVE_RATE_THROTTLE_KEY = :project_repositories_archive ARCHIVE_RATE_THROTTLE_KEY = :project_repositories_archive
def archive_rate_limit_reached?(user, project) def archive_rate_limit_reached?(user, project)
return false unless Feature.enabled?(:archive_rate_limit, default_enabled: true) return false unless Feature.enabled?(:archive_rate_limit)
key = ARCHIVE_RATE_THROTTLE_KEY key = ARCHIVE_RATE_THROTTLE_KEY
......
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