From cb378f4cc0e98d71ae25f03c0cf4e062be631292 Mon Sep 17 00:00:00 2001 From: Eduarda Ferreira Date: Wed, 25 May 2022 17:37:40 -0300 Subject: [PATCH] fixfix: Fix my fix It was actually the other way around (my excuse is that I was in a call lol) --- lib/pipefy_message/consumer.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pipefy_message/consumer.rb b/lib/pipefy_message/consumer.rb index 937b952..9fb4ad6 100644 --- a/lib/pipefy_message/consumer.rb +++ b/lib/pipefy_message/consumer.rb @@ -81,9 +81,9 @@ def process_message elapsed_time_ms = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond) - start logger.info({ - duration_ms: elapsed_time, + duration_ms: elapsed_time_ms, message_text: "Message received by consumer poller, processed " \ - "in #{elapsed_time} milliseconds" + "in #{elapsed_time_ms} milliseconds" }) end rescue PipefyMessage::Providers::Errors::ResourceError => e