Skip to content

Commit

Permalink
set interrupt flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliverwqcwrw committed Apr 1, 2022
1 parent 3b846f8 commit 95cc141
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -479,6 +479,8 @@ private PooledConnection popConnection(String username, String password) throws
state.wait(poolTimeToWait);
state.accumulatedWaitTime += System.currentTimeMillis() - wt;
} catch (InterruptedException e) {
// set interrupt flag
Thread.currentThread().interrupt();
break;
}
}
Expand Down

0 comments on commit 95cc141

Please sign in to comment.