Skip to content

Commit

Permalink
Merge pull request #64 from rainforestapp/RF-31082/pp/memoize-fix
Browse files Browse the repository at this point in the history
[RF-31082] Fix memoization of failed job class in CustomWorker
  • Loading branch information
magni- authored Nov 7, 2023
2 parents 959bec7 + 977c3ea commit acc4055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/queue_classic_plus/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module QueueClassicPlus
VERSION = '4.0.0.alpha20'.freeze
VERSION = '4.0.0.alpha21'.freeze
end
1 change: 1 addition & 0 deletions lib/queue_classic_plus/worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def handle_failure(job, e)
force_retry = true
end

@failed_job_class_memoized = false
@failed_job = job
@raw_args = job[:args]

Expand Down

0 comments on commit acc4055

Please sign in to comment.