Module: SolidCache::Store::Execution

Included in:
SolidCache::Store
Defined in:
lib/solid_cache/store/execution.rb

Instance Method Summary collapse

Instance Method Details

#initialize(options = {}) ⇒ Object



6
7
8
9
10
# File 'lib/solid_cache/store/execution.rb', line 6

def initialize(options = {})
  super(options)
  @background = Concurrent::FixedThreadPool.new(1, max_queue: 100, fallback_policy: :discard)
  @active_record_instrumentation = options.fetch(:active_record_instrumentation, true)
end