Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2831,10 +2831,13 @@ private StringBuilder createCheckedOutSessionsStackTraces() {
// Create the error message without holding the lock, as we are potentially looping through a
// large set, and analyzing a large number of stack traces.
StringBuilder stackTraces =
new StringBuilder(
"There are currently "
+ currentlyCheckedOutSessions.size()
+ " sessions checked out:\n\n");
new StringBuilder("MinSessions: ")
.append(options.getMinSessions())
.append("\nMaxSessions: ")
.append(options.getMaxSessions())
.append("\nThere are currently ")
.append(currentlyCheckedOutSessions.size())
.append(" sessions checked out:\n\n");
if (options.isTrackStackTraceOfSessionCheckout()) {
for (PooledSessionFuture session : currentlyCheckedOutSessions) {
if (session.leakedException != null) {
Expand Down
Loading