Skip to content
Browse files

include num_waiting in our hacky log

  • Loading branch information...
1 parent 5c3c824 commit bf18703d74c939801336361accad65b756faee21 @jrochkind jrochkind committed May 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 active_record_patch/connection_pool.rb
2 active_record_patch/connection_pool.rb
@@ -414,7 +414,7 @@ def acquire_connection
t0 =
-"POLLED_CHECKOUT: num avail connections: #{@available.num_available}; total connections: #{@connections.size}")
+"POLLED_CHECKOUT: num avail connections: #{@available.num_available}; num waiting: #{@available.num_waiting}; total connections: #{@connections.size}")
rescue ActiveRecord::ConnectionTimeoutError

0 comments on commit bf18703

Please sign in to comment.
Something went wrong with that request. Please try again.