diff --git a/app/presenters/instance_presenter.rb b/app/presenters/instance_presenter.rb index 7d7bae7ede428c..cb6005e2153b19 100644 --- a/app/presenters/instance_presenter.rb +++ b/app/presenters/instance_presenter.rb @@ -34,7 +34,7 @@ def domain_count end def sample_accounts - Rails.cache.fetch('sample_accounts', expires_in: 12.hours) { Account.local.searchable.joins(:account_stat).popular.limit(3) } + Rails.cache.fetch('sample_accounts', expires_in: 12.hours) { Account.discoverable.popular.limit(3) } end def version_number