We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d914d3 commit b37af81Copy full SHA for b37af81
1 file changed
ebean-datasource/src/main/java/io/ebean/datasource/pool/PooledConnectionQueue.java
@@ -246,6 +246,9 @@ private int registerBusyConnection(PooledConnection connection) {
246
247
private PooledConnection _obtainConnection(Object affinitiyId) throws InterruptedException, SQLException {
248
var start = System.nanoTime();
249
+ if (Thread.interrupted()) {
250
+ throw new InterruptedException();
251
+ }
252
lock.lockInterruptibly();
253
try {
254
if (doingShutdown) {
0 commit comments