lib/alephant/broker/request/batch.rb in alephant-broker-3.0.0 vs lib/alephant/broker/request/batch.rb in alephant-broker-3.0.1

- old
+ new

@@ -9,16 +9,14 @@ include Logger attr_reader :batch_id, :components, :load_strategy def initialize(component_factory, env) - logger.debug("Request::Batch#initialize(#{env.settings})") + logger.info "Request::Batch#initialize: id: #{env.data['batch_id']}" + @batch_id = env.data['batch_id'] @component_factory = component_factory - @batch_id = env.data['batch_id'] - @components = components_for env - - logger.debug("Request::Batch#initialize: id: #{@batch_id}") + @components = components_for env end private def components_for(env)