Skip to content
Snippets Groups Projects

Add feature flag to skip sidebar counts

Merged Heinrich Lee Yu requested to merge 498901-feature-flag-async-counts into master
All threads resolved!
@@ -56,6 +56,8 @@
let(:count_service) { ::Groups::OpenIssuesCountService }
before do
stub_feature_flags(async_sidebar_counts: false)
allow_next_instance_of(count_service) do |service|
allow(service).to receive(:count).and_raise(ActiveRecord::QueryCanceled)
end
Loading