Skip to content
Permalink
Browse files
GERONIMO-5150 don't expand the pool when releasing idle connections.
  • Loading branch information
djencks committed Feb 19, 2010
1 parent f9e0c43 commit dba8916cbb3abcedda8112a9287943677cd7ebfb
Showing 2 changed files with 1 addition and 2 deletions.
@@ -372,7 +372,6 @@ public void run() {
ConnectionInfo killInfo = new ConnectionInfo(managedConnectionInfo);
interceptor.internalReturn(killInfo, ConnectionReturnAction.DESTROY);
}
interceptor.permits.release(killList.size());
} catch (Throwable t) {
log.error("Error occurred during execution of ExpirationMonitor TimerTask", t);
} finally {
@@ -47,7 +47,7 @@ public String getName() {

public void commit(Xid xid, boolean onePhase) throws XAException {
xaResource.commit(xid, onePhase);
}
}

public void end(Xid xid, int flags) throws XAException {
xaResource.end(xid, flags);

0 comments on commit dba8916

Please sign in to comment.