Sha256: a41f7111c8f951ef354e2d878e0d539f184bc7eb9959309466515eab8758f778

Contents?: true

Size: 840 Bytes

Versions: 16

Compression:

Stored size: 840 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

ENV['RAILS_ENV'] = 'production'
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

16 entries across 16 versions & 1 rubygems

Version Path
cosmos-4.5.2-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.5.2 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.5.1-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.5.1 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.5.0-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.5.0 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.2-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.2 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.1-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.1 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.0-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.4.0 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.3.0-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.3.0 lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.4-java lib/cosmos/dart/processes/dart_reducer.rb
cosmos-4.2.4 lib/cosmos/dart/processes/dart_reducer.rb