Flowdock
method

enqueue_at

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: SuckerPunchAdapter
enqueue_at(job, timestamp) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activejob/lib/active_job/queue_adapters/sucker_punch_adapter.rb, line 31
      def enqueue_at(job, timestamp) #:nodoc:
        if JobWrapper.respond_to?(:perform_in)
          delay = timestamp - Time.current.to_f
          JobWrapper.perform_in delay, job.serialize
        else
          raise NotImplementedError, "sucker_punch 1.0 does not support `enqueued_at`. Please upgrade to version ~> 2.0.0 to enable this behavior."
        end
      end
Register or log in to add new notes.