Merge pull request #1788 from pixelfed/staging

Update AdminInstanceController, fix instance scan
This commit is contained in:
daniel 2019-10-16 21:09:13 -06:00 committed by GitHub
commit 58669be829
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {