diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-24 09:08:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-01-24 09:08:34 +0300 |
commit | 25bd06f7e75ab5510cb75f0971d210a8d0c93342 (patch) | |
tree | 575433e80d3fe7ae9625d71c172e46d7347a1f28 /app/models/project_authorization.rb | |
parent | ba318c97cd1adf21ecedb6efaeb266c5c75d4505 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/project_authorization.rb')
-rw-r--r-- | app/models/project_authorization.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/project_authorization.rb b/app/models/project_authorization.rb index a87d3aafa1c..cb578496f26 100644 --- a/app/models/project_authorization.rb +++ b/app/models/project_authorization.rb @@ -64,8 +64,7 @@ class ProjectAuthorization < ApplicationRecord # catch up with the primary when large batches of records are being added/removed. # Hance, we add a delay only if the GitLab installation has a replica database configured. entire_size > batch_size && - !::Gitlab::Database::LoadBalancing.primary_only? && - Feature.enabled?(:enable_minor_delay_during_project_authorizations_refresh) + !::Gitlab::Database::LoadBalancing.primary_only? end private_class_method def self.log_details(entire_size:, batch_size:) |