Sha256: 9212154e1ec2a5ff4933dd6b5bc15ded2486512d35d8641442bcfb38e4845f57

Contents?: true

Size: 555 Bytes

Versions: 46

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true

require 'active_support'
require 'active_support/per_thread_registry'

module LHS
  module Interceptors
    module RequestCycleCache
      extend ActiveSupport::Concern
      class ThreadRegistry
        # Using ActiveSupports PerThreadRegistry to be able to support Active Support v4.
        # Will switch to thread_mattr_accessor (which comes with Activesupport) when we dropping support for Active Support v4.
        extend ActiveSupport::PerThreadRegistry
        attr_accessor :request_id
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
lhs-26.2.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-26.1.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-26.0.1 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-26.0.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.2.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.1.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.0.4 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.0.3 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.0.2 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.0.1 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-25.0.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.1.2 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.1.1 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.1.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.1.0.pre.2 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.1.0.pre.1 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-24.0.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-23.0.2 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-23.0.1 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb
lhs-23.0.0 lib/lhs/interceptors/request_cycle_cache/thread_registry.rb