Elffuss BraidHub

kikocis/java-driver public

cancel timeout before invoking callback.onException
Changeset30f6334ebac4092458739bf9f713cd5e3867ee9fe4e34348d869ea40bcc6e206
AuthorNicolas DOUILLET <nicolas.douillet@gmail.com> · 2014-09-18 23:16 +02:00
CommitterNicolas DOUILLET <nicolas.douillet@gmail.com> · 2014-09-18 23:16 +02:00
Parents559b34e0a81e

Browse the files at this changeset

1 file changed

modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +1 −0
@@ -587,6 +587,7 @@
587587 while (iter.hasNext())
588588 {
589589 ResponseHandler handler = iter.next();
590+ handler.cancelTimeout();
590591 handler.callback.onException(Connection.this, ce, System.nanoTime() - handler.startTime);
591592 iter.remove();
592593 }