app/jobs/check_waitlist_movie_job.rb

Summary

Maintainability
A
0 mins
Test Coverage
D
60%
class CheckWaitlistMovieJob < ActiveJob::Base
  sidekiq_options retry: false

  def perform(movie)
    ActiveRecord::Base.connection_pool.with_connection do
      Services::WaitlistMoviesCheck.new(movie).perform
    end
  end
end