Merge commit '93ffe2cff2
' into kb_development
This commit is contained in:
commit
60bf03ae09
2 changed files with 5 additions and 3 deletions
|
@ -3,8 +3,10 @@
|
|||
class ProcessReferencesWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform(status_id, ids, urls, no_fetch_urls: nil)
|
||||
ProcessReferencesService.new.call(Status.find(status_id), ids || [], urls: urls || [], no_fetch_urls: no_fetch_urls || [])
|
||||
sidekiq_options queue: 'pull', retry: 3
|
||||
|
||||
def perform(status_id, ids, urls, no_fetch_urls = nil)
|
||||
ProcessReferencesService.new.call(Status.find(status_id), ids || [], urls: urls || [], no_fetch_urls: no_fetch_urls)
|
||||
rescue ActiveRecord::RecordNotFound
|
||||
true
|
||||
end
|
||||
|
|
|
@ -9,7 +9,7 @@ module Mastodon
|
|||
end
|
||||
|
||||
def kmyblue_minor
|
||||
1
|
||||
2
|
||||
end
|
||||
|
||||
def kmyblue_flag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue