Fix sidekiq jobs not triggering Elasticsearch index updates (#24046)
This commit is contained in:
parent
14bcd14289
commit
479b66637b
3 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,9 @@ require_relative '../config/boot'
|
|||
require_relative '../lib/cli'
|
||||
|
||||
begin
|
||||
Mastodon::CLI.start(ARGV)
|
||||
Chewy.strategy(:mastodon) do
|
||||
Mastodon::CLI.start(ARGV)
|
||||
end
|
||||
rescue Interrupt
|
||||
exit(130)
|
||||
end
|
||||
|
|
Reference in a new issue