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