We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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):
GoodJob::Process
The text was updated successfully, but these errors were encountered:
@bensheldon did I understand this correctly:
You want to this information insideGoodJob::Process#current_state
GoodJob::Process#current_state
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
connection_pool.size
connection_pool.connections.size
Sorry, something went wrong.
@dixpac that looks perfect!
One naming request: what do you think of "active" instead of "busy"?
Awesome! I'll submit PR then
Agree about the naming 🤘🏽
GoodJob::Process.current_state
No branches or pull requests
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: