Skip to content

Commit

Permalink
enqueue_at_with_queue内でenqueueでなくenqueue_toでエンキュー
Browse files Browse the repository at this point in the history
  • Loading branch information
hsato23 committed Oct 23, 2024
1 parent 7b655e9 commit eca03b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/resque_unit_without_mock/scheduler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def enqueue_at_with_queue(queue, timestamp, klass, *args)
@@enqueue_ats ||= {}
@@enqueue_ats[queue] ||= []
@@enqueue_ats[queue] << { timestamp: timestamp, klass: klass, args: args }
Resque.enqueue(klass, *args)
Resque.enqueue_to(queue, klass, *args)
end

def enqueue_ats(queue)
Expand Down

0 comments on commit eca03b2

Please sign in to comment.