mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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.
This commit is contained in:
parent
d6daa60d0a
commit
d9413a61d2
@ -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?
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user