Misc indexing improvements (#99)

* increased file follower timeout to 10 minutes

* Removed unique index across a source's collection and its media profile

* Ensure source gets updating during slow indexing
This commit is contained in:
Kieran
2024-03-20 18:34:33 -07:00
committed by GitHub
parent 3c522d8d6b
commit 9310b5e26e
5 changed files with 16 additions and 45 deletions
-1
View File
@@ -98,7 +98,6 @@ defmodule Pinchflat.Sources.Source do
|> dynamic_default(:custom_name, fn cs -> get_field(cs, :collection_name) end)
|> validate_required(required_fields)
|> cast_assoc(:metadata, with: &SourceMetadata.changeset/2, required: false)
|> unique_constraint([:collection_id, :media_profile_id])
end
@doc false