lib/neetodeploy/autoscale/sidekiq_middleware.rb in neetodeploy-autoscale-1.0.1 vs lib/neetodeploy/autoscale/sidekiq_middleware.rb in neetodeploy-autoscale-1.0.2

- old
+ new

@@ -15,10 +15,10 @@ queues = queues_by_name.keys queues.each do |queue_obj| queue = queues_by_name.fetch(queue_obj) { |name| ::Sidekiq::Queue.new(name) } - query_params = URI.encode_www_form(app_name: ENV.to_h["NEETODEPLOY_APP_NAME"], process_type: "worker", queue_obj: queue_obj, queue_time: queue_time(queue)) + query_params = URI.encode_www_form(app_name: ENV.to_h["NEETODEPLOY_APP_NAME"], process_type: "worker", queue_name: queue_obj, queue_time: queue_time(queue)) url.query = query_params post = Net::HTTP::Post.new(url) post["AuthToken"] = "K0An3O3MSyEEMTCnRd1IHgGjdGQkzy" begin