Get sidekiq to execute a job immediately
There are two questions here. If you want to execute a job immediately, in the current context you can use: SyncUser.new.perform(user.id) If you want to decrease the delay between asynchronous work being scheduled and when it’s executed in the sidekiq worker, you can decrease the poll_interval setting: Sidekiq.configure_server do |config| config.poll_interval = 2 end The … Read more