method

enqueue_at

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: BackburnerAdapter
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/backburner_adapter.rb, line 24
      def enqueue_at(job, timestamp) # :nodoc:
        delay = timestamp - Time.current.to_f
        response = Backburner::Worker.enqueue(JobWrapper, [job.serialize], queue: job.queue_name, pri: job.priority, delay: delay)
        job.provider_job_id = response[:id] if response.is_a?(Hash)
        response
      end
Register or log in to add new notes.