add e621 to periodic tasks

This commit is contained in:
Dylan Knutson
2023-08-22 17:47:39 -07:00
parent 1e249e0ece
commit db258633cb
2 changed files with 2 additions and 80 deletions

View File

@@ -48,7 +48,7 @@ task :periodic_tasks => [:environment, :set_logger_stdout] do
loop do
Rake::Task["fa:browse_page_job"].execute
Rake::Task["fa:home_page_job"].execute
# Rake::Task["e621:posts_index_job"].execute
Rake::Task["e621:posts_index_job"].execute
puts "enqueue periodic jobs"
sleep 1.minute
end
@@ -111,7 +111,7 @@ task :good_job do
"GOOD_JOB_MAX_THREADS" => "4",
"GOOD_JOB_QUEUES" => [
"manual:4",
"fa_post:2",
"fa_post,e621:2",
"*:6",
].reject(&:nil?).join(";"),
}