Misc refactors 2024-03-15 (#90)
* Fixed TV show output template * Discard jobs if record not found; hopefully addressed timing-related source deletion bug
This commit is contained in:
1 parent
b633d0f75c
commit
6e7e8dc96c
13 files changed
+54
-9
No files matched your search
@@ -161,5 +161,9 @@ defmodule Pinchflat.SlowIndexing.MediaCollectionIndexingWorkerTest do
|
||||
perform_job(MediaCollectionIndexingWorker, %{id: source.id})
|
||||
end)
|
||||
end
|
||||
|
||||
test "does not blow up if the record doesn't exist" do
|
||||
assert :ok = perform_job(MediaCollectionIndexingWorker, %{id: 0})
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user