-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add database connection pool details to Process state #1014
Comments
@bensheldon did I understand this correctly: You want to this information inside Something like this: def self.ns_current_state
{
...
db_conection_pool_size: connection_pool.size,
db_connection_pool_busy: connection_pool.connections.count(&:in_use?)
}
end For the "Size of the database connection pool" do you want
|
@dixpac that looks perfect! One naming request: what do you think of "active" instead of "busy"? |
Awesome! Agree about the naming 🤘🏽 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It might be helpful to provide a snapshot of the database connection pool settings and usage to the Process state.
For the database used by GoodJob (e.g. take it off the
GoodJob::Process
connection):The text was updated successfully, but these errors were encountered: