Skip to content

Faces: Optimize faces doesn't work #1957

Description

@agramner

I noticed that one part of the background job takes 50 minutes. Concluded that it is is the ResolveFaceCollisions loop that consumes 100% of one CPU core for 50 minutes on my raspberry pi 4. With the default 15 min background jobs interval, 100% of one core is almost constantly working. I have 2093 rows in the "faces" table. I've done a lot of manually tagging of not matched faces figured that it might improve the algorithm over time.

Tried to run the faces optimize command but no improvement.

Looked at the code and found that the faces optimize code doesn't seem to work due to a ":" at this line.

} else if n := len(faces) - 1; n < 1 {

Metadata

Metadata

Assignees

Labels

releasedAvailable in a stable release

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions