Skip to content

Commit 41558c7

Browse files
committed
doc
1 parent 5cdf011 commit 41558c7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/resque/worker.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,9 @@ def worker_pids
416416
end
417417
end
418418

419+
# Given a string, sets the procline ($0) and logs.
420+
# Procline is always in the format of:
421+
# resque-VERSION: STRING
419422
def procline(string)
420423
$0 = "resque-#{Resque::Version}: #{string}"
421424
log! $0

0 commit comments

Comments
 (0)