Skip to content

Commit

Permalink
Merge pull request #277 from custora/procline
Browse files Browse the repository at this point in the history
Show currently running job in qless worker procline
  • Loading branch information
b4hand authored Jul 9, 2018
2 parents 0616a5d + b6923a3 commit 08e16c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/qless/worker/serial.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def run
jobs.each do |job|
# Run the job we're working on
log(:debug, "Starting job #{job.klass_name} (#{job.jid} from #{job.queue_name})")
procline "Processing: #{job.jid} (#{job.klass_name}) from #{job.queue_name}"
perform(job)
log(:debug, "Finished job #{job.klass_name} (#{job.jid} from #{job.queue_name})")

Expand Down

0 comments on commit 08e16c2

Please sign in to comment.