fuzzysearch enqueue job
This commit is contained in:
10
rake/fa.rake
10
rake/fa.rake
@@ -96,6 +96,16 @@ namespace :fa do
|
||||
loop { sleep poll_duration if enqueuer.run_once == :sleep }
|
||||
end
|
||||
|
||||
desc "Pull missing post information from FuzzySearch"
|
||||
task pull_missing_post_info_from_fuzzysearch: %i[
|
||||
set_logger_stdout
|
||||
environment
|
||||
] do
|
||||
Tasks::Fa::QueryMissingPostsFromFuzzysearch.new(
|
||||
start_at: ENV["start_at"],
|
||||
).run
|
||||
end
|
||||
|
||||
desc "run a single browse page job"
|
||||
task browse_page_job: %i[set_logger_stdout environment] do
|
||||
Domain::Fa::Job::BrowsePageJob.set(
|
||||
|
||||
Reference in New Issue
Block a user