method
stat
v7.2.3 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::ConnectionPool
stat()public
Returns the connection pool’s usage statistic.
ActiveRecord::Base.connection_pool.stat # => { size: 15, connections: 1, busy: 1, dead: 0, idle: 0, waiting: 0, checkout_timeout: 5 }