File tree 1 file changed +7
-4
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2831,10 +2831,13 @@ private StringBuilder createCheckedOutSessionsStackTraces() {
2831
2831
// Create the error message without holding the lock, as we are potentially looping through a
2832
2832
// large set, and analyzing a large number of stack traces.
2833
2833
StringBuilder stackTraces =
2834
- new StringBuilder (
2835
- "There are currently "
2836
- + currentlyCheckedOutSessions .size ()
2837
- + " sessions checked out:\n \n " );
2834
+ new StringBuilder ("MinSessions: " )
2835
+ .append (options .getMinSessions ())
2836
+ .append ("\n MaxSessions: " )
2837
+ .append (options .getMaxSessions ())
2838
+ .append ("\n There are currently " )
2839
+ .append (currentlyCheckedOutSessions .size ())
2840
+ .append (" sessions checked out:\n \n " );
2838
2841
if (options .isTrackStackTraceOfSessionCheckout ()) {
2839
2842
for (PooledSessionFuture session : currentlyCheckedOutSessions ) {
2840
2843
if (session .leakedException != null ) {
You can’t perform that action at this time.
0 commit comments