在Gemfile新增 gem 'sidekiq' 然後bundle. 預設的ActiveJob Adapter是:inline,也就是沒有非同步。我們必須編輯config/environments/production.rb切換成改用 :sidekiq ...
確定! 回上一頁