PERF: move crawl_topic_links to the low queue

PERF: move crawl_topic_links to the low queue

Crawling topic links can be somewhat delayed no need to run it in the default queue.

diff --git a/app/jobs/regular/crawl_topic_link.rb b/app/jobs/regular/crawl_topic_link.rb
index edf3cce..36c10ff 100644
--- a/app/jobs/regular/crawl_topic_link.rb
+++ b/app/jobs/regular/crawl_topic_link.rb
@@ -9,6 +9,8 @@ require_dependency 'topic_link'
 module Jobs
   class CrawlTopicLink < Jobs::Base
 
+    sidekiq_options queue: 'low'
+
     def execute(args)
       raise Discourse::InvalidParameters.new(:topic_link_id) unless args[:topic_link_id].present?

GitHub sha: d9413a61

1 Like