Skip to content

Commit

Permalink
Fix time unit in log message for slow acknowledgements (#1030)
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickGotthard authored Feb 2, 2024
1 parent ac66aa0 commit ddbdb8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void logAckResult(Collection<Message<T>> messagesToAck, Throwable t, Sto
watch.stop();
long totalTimeMillis = watch.getTotalTimeMillis();
if (totalTimeMillis > 10000) {
logger.warn("Acknowledgement operation took {} seconds to finish in queue {} for messages {}",
logger.warn("Acknowledgement operation took {}ms to finish in queue {} for messages {}",
totalTimeMillis, this.queueName, MessageHeaderUtils.getId(messagesToAck));
}
if (t != null) {
Expand Down

0 comments on commit ddbdb8d

Please sign in to comment.