forked from mirror/pixelfed
Update AdminInstanceController, fix instance scan
This commit is contained in:
parent
c69784f4c6
commit
79292ad610
|
@ -44,7 +44,7 @@ trait AdminInstanceController
|
|||
{
|
||||
Profile::whereNotNull('domain')
|
||||
->latest()
|
||||
->groupBy('domain')
|
||||
->groupBy(['domain', 'id'])
|
||||
->where('created_at', '>', now()->subMonths(2))
|
||||
->chunk(100, function($domains) {
|
||||
foreach($domains as $domain) {
|
||||
|
|
Loading…
Reference in New Issue