Sha256: eecbadc8afd3eafa32ba1263d029bda34242008e8b2ad9500a45f97a39e81255

Contents?: true

Size: 808 Bytes

Versions: 8

Compression:

Stored size: 808 Bytes

Contents

# encoding: ascii-8bit

# Copyright 2018 Ball Aerospace & Technologies Corp.
# All Rights Reserved.
#
# This program is free software; you can modify and/or redistribute it
# under the terms of the GNU General Public License
# as published by the Free Software Foundation; version 3 with
# attribution addendums as found in the LICENSE.txt

require File.expand_path('../../config/environment', __FILE__)
require 'dart_reducer_manager'
require 'dart_logging'

# Start the DartReducer
Cosmos.catch_fatal_exception do
  DartCommon.handle_argv

  Cosmos::Logger.level = Cosmos::Logger::INFO
  dart_logging = DartLogging.new('dart_reducer')
  num_threads = ENV['DART_NUM_REDUCERS']
  num_threads ||= 5
  num_threads = num_threads.to_i
  drm = DartReducerManager.new(num_threads)
  drm.run
  dart_logging.stop
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
cosmos-4.2.3-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.3 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.2-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.2 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.1-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.1 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.0-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.0 lib/cosmos/dart/processes/dart_reducer.rb