chore(server): add limit to people return (#3069)
This commit is contained in:
parent
d9e084706f
commit
1df068bac9
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ export class PersonRepository implements IPersonRepository {
|
|||
.orderBy('COUNT(face.assetId)', 'DESC')
|
||||
.having('COUNT(face.assetId) >= :faces', { faces: options?.minimumFaceCount || 1 })
|
||||
.groupBy('person.id')
|
||||
.limit(500)
|
||||
.getMany();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue