mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
People: Improve Facial Recognition Accuracy, Command, and UI #22
Work in progress. Performed refactoring along the way.
This commit is contained in:
@@ -45,13 +45,13 @@ func cleanUpAction(ctx *cli.Context) error {
|
||||
log.Infof("cleanup: read-only mode enabled")
|
||||
}
|
||||
|
||||
cleanUp := service.CleanUp()
|
||||
w := service.CleanUp()
|
||||
|
||||
opt := photoprism.CleanUpOptions{
|
||||
Dry: ctx.Bool("dry"),
|
||||
}
|
||||
|
||||
if thumbs, orphans, err := cleanUp.Start(opt); err != nil {
|
||||
if thumbs, orphans, err := w.Start(opt); err != nil {
|
||||
return err
|
||||
} else {
|
||||
elapsed := time.Since(start)
|
||||
|
||||
Reference in New Issue
Block a user