lib/evrone/ci/router/consumers/builds_consumer.rb in evrone-ci-router-0.2.0.pre5 vs lib/evrone/ci/router/consumers/builds_consumer.rb in evrone-ci-router-0.2.0.pre6

- old
+ new

@@ -12,14 +12,13 @@ ack true model Message::PerformBuild def perform(message) - build = Build.new message - number = Thread.current[:consumer_id] || 0 - path_prefix = "#{Router.config.path_prefix}/build.#{number}" + build = Build.new message + _ = Thread.current[:consumer_id] || 0 - Router.new(build, path_prefix).perform + Router.new(build).perform ack! end end end