mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Metadata: Add --force flag to optimize command #1736
This commit is contained in:
@@ -23,13 +23,13 @@ func TestPrism_Start(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
if err := worker.Start(time.Second); err == nil {
|
||||
if err := worker.Start(time.Second, true); err == nil {
|
||||
t.Fatal("error expected")
|
||||
}
|
||||
|
||||
mutex.MetaWorker.Stop()
|
||||
|
||||
if err := worker.Start(time.Second); err != nil {
|
||||
if err := worker.Start(time.Second, true); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user