kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 24f87d01de9a3a066b569f9a3d027da883f91f3126391e28a6a68cb419edbe00 |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-09-23 10:29 +02:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2014-09-23 10:29 +02:00 |
| Parents | 559b34e0a81e, 30f6334ebac4 |
1 file changed
modified driver-core/src/main/java/com/datastax/driver/core/Connection.java +1 −0
| @@ -587,6 +587,7 @@ | ||
| 587 | 587 | while (iter.hasNext()) |
| 588 | 588 | { |
| 589 | 589 | ResponseHandler handler = iter.next(); |
| 590 | + handler.cancelTimeout(); | |
| 590 | 591 | handler.callback.onException(Connection.this, ce, System.nanoTime() - handler.startTime); |
| 591 | 592 | iter.remove(); |
| 592 | 593 | } |