def set_process_name(status = 'idle', message_id = nil)
      formatted_status = String(status)
        .split('::')
        .last

      ident = [formatted_status, message_id]
        .compact
        .join('#')

      $PROGRAM_NAME = "#{process_name}[#{ident}]"
    end
def set_process_name(status = 'idle', message_id = nil)
      formatted_status = String(status)
        .split('::')
        .last

      ident = [formatted_status, message_id]
        .compact
        .join('#')

      $PROGRAM_NAME = "#{process_name}[#{ident}]"
    end
Update the name of this process, as viewed in `ps` or `top`

 @example idle
   set_process_name #=> "songkick_queue[idle]"
 @example consumer running, namespace is removed
   set_process_name(Foo::TweetConsumer, 'a729bcd8') #=> "songkick_queue[TweetConsumer#a729bcd8]"
 @param status [String] of the program
 @param message_id [String] identifying the message currently being consumed