Module: LogStash::Config::Defaults

Extended by:
Defaults
Included in:
Defaults
Defined in:
lib/logstash/config/defaults.rb

Instance Method Summary collapse

Instance Method Details

#cpu_coresObject



9
10
11
# File 'lib/logstash/config/defaults.rb', line 9

def cpu_cores
  Concurrent.processor_count
end