Skip to content

Commit

Permalink
adds enqueue_after_transaction_commit? for rails 7.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
thenano committed Sep 2, 2024
1 parent dbcbdf2 commit 8c712a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/lambdakiq/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ def enqueue_at(job, timestamp)
enqueue job, delay_seconds: delay_seconds(timestamp)
end

def enqueue_after_transaction_commit?
true
end

private

def delay_seconds(timestamp)
Expand Down

0 comments on commit 8c712a2

Please sign in to comment.