class Sidekiq::Processor::SharedWorkState

def dup

def dup
  @lock.synchronize { @work_state.dup }
end