method

stat

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - 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 }
Show source
Register or log in to add new notes.