mirror of
https://github.com/mastodon/mastodon
synced 2024-11-27 22:38:27 +09:00
Fix to limit to discoverable accounts. (#10253)
This commit is contained in:
parent
0a6840564a
commit
d4ef90eae3
@ -34,7 +34,7 @@ class InstancePresenter
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user