lib/elastic_apm/transport/worker.rb in elastic-apm-3.1.0 vs lib/elastic_apm/transport/worker.rb in elastic-apm-3.2.0
- old
+ new
@@ -23,11 +23,10 @@
@queue = queue
@serializers = serializers
@filters = filters
- metadata = serializers.serialize(Metadata.new(config))
- @connection = conn_adapter.new(config, metadata)
+ @connection = conn_adapter.new(config)
end
attr_reader :queue, :filters, :name, :connection, :serializers
# rubocop:disable Metrics/MethodLength