diff options
-rw-r--r-- | app/workers/link_crawl_worker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/workers/link_crawl_worker.rb b/app/workers/link_crawl_worker.rb index b3d8aa264..34a46db7a 100644 --- a/app/workers/link_crawl_worker.rb +++ b/app/workers/link_crawl_worker.rb @@ -3,11 +3,11 @@ class LinkCrawlWorker include Sidekiq::Worker - sidekiq_options queue: 'pull', retry: 0 + sidekiq_options queue: 'bulk', retry: 0 def perform(status_id) FetchLinkCardService.new.call(Status.find(status_id)) - rescue ActiveRecord::RecordNotFound + rescue ActiveRecord::RecordNotFound, Zlib::BufError, Mastodon::RaceConditionError, OpenSSL::SSL::SSLError true end end |