Sha256: 9bb08208a79fa327d512f9dfefaf99b301fc5b74e36b5a5d471697908a5c53cc

Contents?: true

Size: 180 Bytes

Versions: 2

Compression:

Stored size: 180 Bytes

Contents

# Helper for default threading values.
require 'concurrent'

module Xcflushd
  module Threading
    def self.default_threads
      Concurrent.processor_count * 4
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcflushd-1.2.0 lib/xcflushd/threading.rb
xcflushd-1.1.0 lib/xcflushd/threading.rb