class ActiveSupport::Dependencies::Interlock

def permit_concurrent_loads(&block)

def permit_concurrent_loads(&block)
  @lock.yield_shares(compatible: [:load], &block)
end