Enable housekeeping for project and group wiki repos

parent 41f7a751
...@@ -16,7 +16,7 @@ module Git ...@@ -16,7 +16,7 @@ module Git
wiki.after_post_receive wiki.after_post_receive
process_changes process_changes
perform_housekeeping if Feature.enabled?(:wiki_housekeeping, wiki.container) perform_housekeeping
end end
private private
......
---
title: Enable housekeeping for project and group wiki repos
merge_request: 53011
author:
type: added
---
name: wiki_housekeeping
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/51576
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/299343
milestone: '13.9'
type: development
group: group::editor
default_enabled: false
...@@ -288,16 +288,6 @@ RSpec.describe Git::WikiPushService, services: true do ...@@ -288,16 +288,6 @@ RSpec.describe Git::WikiPushService, services: true do
expect { subject }.not_to raise_error expect { subject }.not_to raise_error
end end
context 'when feature flag :wiki_housekeeping is disabled' do
it 'does not perform housekeeping' do
stub_feature_flags(wiki_housekeeping: false)
expect(housekeeping).not_to receive(:execute)
subject
end
end
end end
it 'increments the push counter' do it 'increments the push counter' do
......
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