tweak to post scan enqueue logic

This commit is contained in:
Dylan Knutson
2025-02-21 22:36:07 +00:00
parent 1971bc876d
commit d237250c4b
5 changed files with 22 additions and 18 deletions

View File

@@ -231,7 +231,7 @@ task enqueue_fa_posts_missing_files: %i[environment set_logger_stdout] do
.where
.missing(:file)
.find_each(order: :desc) do |post|
Domain::Fa::Job::ScanPostJob.perform_later(post:)
Domain::Fa::Job::ScanPostJob.perform_now(post:)
end
end