qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rob...@apache.org
Subject [1/2] qpid-jms git commit: QPIDJMS-81: fix trace logging to report the delay as intended rather than the deadline
Date Thu, 02 Jul 2015 12:24:49 GMT
Repository: qpid-jms
Updated Branches:
  refs/heads/master dfc84e110 -> 1039523dc


QPIDJMS-81: fix trace logging to report the delay as intended rather than the deadline


Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/359077bd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/359077bd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/359077bd

Branch: refs/heads/master
Commit: 359077bd18878d0263af53edc733359d1d3bced6
Parents: dfc84e1
Author: Robert Gemmell <robbie@apache.org>
Authored: Thu Jul 2 09:39:48 2015 +0100
Committer: Robert Gemmell <robbie@apache.org>
Committed: Thu Jul 2 11:28:34 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/359077bd/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java
b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java
index 87b66c1..fe46fe0 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpProvider.java
@@ -838,7 +838,7 @@ public class AmqpProvider implements Provider, TransportListener {
         long deadline = protonTransport.tick(now);
         if (deadline > 0) {
             long delay = deadline - now;
-            LOG.trace("IdleTimeoutCheck being initiated, initial delay: {}", deadline);
+            LOG.trace("IdleTimeoutCheck being initiated, initial delay: {}", delay);
             nextIdleTimeoutCheck = serializer.schedule(new IdleTimeoutCheck(), delay, TimeUnit.MILLISECONDS);
         }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message