lib/httpx/plugins/internal_telemetry.rb in httpx-0.18.6 vs lib/httpx/plugins/internal_telemetry.rb in httpx-0.18.7
- old
+ new
@@ -79,10 +79,10 @@
def self.included(klass)
klass.prepend TrackTimeMethods
super
end
- def transition(nextstate)
+ def handle_transition(nextstate)
state = @state
super
meter_elapsed_time("Connection##{object_id}[#{@origin}]: #{state} -> #{nextstate}") if nextstate == @state
end
end