testapp/app/jobs/test_job.rb in quiq-0.1.0 vs testapp/app/jobs/test_job.rb in quiq-0.2.0

- old
+ new

@@ -1,9 +1,9 @@ # frozen_string_literal: true class TestJob < ApplicationJob def perform(data, wait) - puts "Receiving new data: #{data}" + puts "[Worker ##{$$}] Receiving new job: #{data}" Quiq.current_task.sleep wait - puts "Time to wake up after #{wait} seconds" + puts "[Worker ##{$$}] Time to wake up after #{wait} seconds" end end