Fix #176 take the timeout value at face-value

pull/192/head
Brett Wooldridge 10 years ago
parent 4906a78afd
commit 37e24d630a

@ -296,7 +296,7 @@ public final class PoolUtilities
}
final int networkTimeout = connection.getNetworkTimeout();
connection.setNetworkTimeout(executor, Math.max(250, (int) timeoutMs));
connection.setNetworkTimeout(executor, (int) timeoutMs);
return networkTimeout;
}

@ -269,7 +269,7 @@ public final class PoolUtilities
}
final int networkTimeout = connection.getNetworkTimeout();
connection.setNetworkTimeout(executor, Math.max(250, (int) timeoutMs));
connection.setNetworkTimeout(executor, (int) timeoutMs);
return networkTimeout;
}

Loading…
Cancel
Save