lib/expire_job.rb in expire_job-0.1.3 vs lib/expire_job.rb in expire_job-0.1.4
- old
+ new
@@ -13,9 +13,10 @@
if perform_expire_check(worker.expire_in, parsed_time)
yield
else
logger.info { "Expired job is skipped. args=#{truncate(msg['args'].inspect)}" }
perform_callback(worker, :after_expire, msg['args'])
+ nil
end
else
yield
end
end