提交 30ad4671 编写于 作者: A Andrew Spyker

changes suggested by @elandau

上级 706af372
......@@ -64,10 +64,10 @@ public class PrimeConnections {
}
public static class PrimeConnectionEndStats {
public int total;
public int success;
public int failure;
public long totalTime;
public final int total;
public final int success;
public final int failure;
public final long totalTime;
public PrimeConnectionEndStats(int total, int success, int failure, long totalTime) {
this.total = total;
......@@ -307,7 +307,7 @@ public class PrimeConnections {
catch (RejectedExecutionException ree) {
logger.error("executor submit failed", ree);
}
catch (Throwable e) {
catch (Exception e) {
logger.error("general error", e);
// It does not really matter if there was an exception,
// the goal here is to attempt "priming/opening" the route
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册