Skip to content

Commit

Permalink
Fixed Active Job Backburner adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianbica committed Aug 29, 2014
1 parent f8d9a51 commit 02b63a5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def enqueue(job, *args)
end

def enqueue_at(job, timestamp, *args)
delay = Time.current.to_f - timestamp
delay = timestamp - Time.current.to_f
Backburner::Worker.enqueue JobWrapper, [ job.name, *args ], queue: job.queue_name, delay: delay
end
end
Expand Down

0 comments on commit 02b63a5

Please sign in to comment.