Skip to content

Commit

Permalink
feat: add procline to the consumer process
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosgz committed Nov 20, 2024
1 parent cf6c933 commit 065fb3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/lepus/processes/consumer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def shutdown
super
end

def set_procline
"lepus-consumer: #{consumer_class.name}"
end

def setup_consumer!
@bunny = Thread.current[:lepus_bunny] || Lepus.config.create_connection
@channel = Thread.current[:lepus_channel] || begin
Expand Down

0 comments on commit 065fb3c

Please sign in to comment.