Sha256: 186039c27f610254e331138de67e99ff74610431d6f5f206dfa1fb4ad44e4e0e

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

# frozen_string_literal: true

module Delayed
  module Master
    class JobListener
      def initialize(master)
      end

      def start
      end

      def wait
      end

      def shutdown
      end

      class << self
        def klass
          case DelayedJobMaster.config.listener
          when :postgresql
            require_relative 'postgresql/job_listener'
            Postgresql::JobListener
          else
            self
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
delayed_job_master-3.1.2 lib/delayed/master/job_listener.rb
delayed_job_master-3.1.1 lib/delayed/master/job_listener.rb
delayed_job_master-3.1.0 lib/delayed/master/job_listener.rb
delayed_job_master-3.0.1 lib/delayed/master/job_listener.rb
delayed_job_master-3.0.0 lib/delayed/master/job_listener.rb