Skip to content

Commit

Permalink
fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Kurilov committed Sep 5, 2016
1 parent 95fc66a commit aa1a39e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ public void put(final T item)
if(nodeBalancer != null) {
nodeBalancer.markTaskStart(nextNodeAddr);
}
} catch(final InterruptedException | RejectedExecutionException e) {
} catch(final InterruptedException e) {
if(!isInterrupted.get()) {
countRej.incrementAndGet();
LogUtil.exception(LOG, Level.DEBUG, e, "Rejected the I/O task {}", ioTask);
Expand Down Expand Up @@ -738,6 +738,7 @@ public int put(final List<T> srcBuff, final int from, final int to)
if(srcLimit > 0) {
countRej.addAndGet(srcLimit);
LOG.debug(Markers.MSG, "Rejected {} I/O tasks", srcLimit);
throw new RejectedExecutionException();
}
n = 0;
}
Expand Down

0 comments on commit aa1a39e

Please sign in to comment.