Skip to content

Commit acc4055

Browse files
authored
Merge pull request #64 from rainforestapp/RF-31082/pp/memoize-fix
[RF-31082] Fix memoization of failed job class in CustomWorker
2 parents 959bec7 + 977c3ea commit acc4055

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/queue_classic_plus/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module QueueClassicPlus
2-
VERSION = '4.0.0.alpha20'.freeze
2+
VERSION = '4.0.0.alpha21'.freeze
33
end

lib/queue_classic_plus/worker.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def handle_failure(job, e)
2424
force_retry = true
2525
end
2626

27+
@failed_job_class_memoized = false
2728
@failed_job = job
2829
@raw_args = job[:args]
2930

0 commit comments

Comments
 (0)